TestUtils.assertSamePermissions(permissions, accessToken);
assertEquals(token, accessToken.getToken());
assertEquals(AccessTokenSource.FACEBOOK_APPLICATION_WEB, accessToken.getSource());
assertTrue(!accessToken.isExpired());
Bundle cache = AccessTokenTestHelper.toLegacyCacheBundle(accessToken);
<BUG>TestUtils.assertEqualContents(bundle, cache);
</BUG>
}
@Test
public void testFromCacheWithMissingApplicationId() {

TestUtils.assertSamePermissions(permissions, accessToken);
assertEquals(token, accessToken.getToken());
assertEquals(AccessTokenSource.FACEBOOK_APPLICATION_WEB, accessToken.getSource());
assertTrue(!accessToken.isExpired());
Bundle cache = AccessTokenTestHelper.toLegacyCacheBundle(accessToken);
TestUtils.assertEqualContentsWithoutOrder(bundle, cache);
}
@Test
public void testFromCacheWithMissingApplicationId() {
