505152535455565758
public class SecurityContextTests { @Test public void testCredentialsSerializable() throws Exception { for (Credential expected : getCredentials()) { Credential actual = (Credential)serDeser(expected); Assert.assertEquals(expected, actual); } }
585960616263646566
} @Test public void testCredentialsSealable() throws Exception { for (Credential expected : getCredentials()) { Credential actual = (Credential)sealUnseal(expected); Assert.assertEquals(expected, actual); } }