TestUtils.assertSamePermissions(permissions, accessToken);
assertEquals(token, accessToken.getToken());
assertEquals(AccessTokenSource.FACEBOOK_APPLICATION_NATIVE, accessToken.getSource());
assertTrue(!accessToken.isExpired());
Bundle cachedBundle = AccessTokenTestHelper.toLegacyCacheBundle(accessToken);
<BUG>TestUtils.assertEqualContents(bundle, cachedBundle);
</BUG>
}
private static void assertArrayEquals(Object a1, Object a2) {
assertNotNull(a1);

TestUtils.assertSamePermissions(permissions, accessToken);
assertEquals(token, accessToken.getToken());
assertEquals(AccessTokenSource.FACEBOOK_APPLICATION_NATIVE, accessToken.getSource());
assertTrue(!accessToken.isExpired());
Bundle cachedBundle = AccessTokenTestHelper.toLegacyCacheBundle(accessToken);
TestUtils.assertEqualContentsWithoutOrder(bundle, cachedBundle);
}
private static void assertArrayEquals(Object a1, Object a2) {
assertNotNull(a1);
