Updating SubjectTest
@@ -255,7 +255,6 @@ public class SubjectTest extends TestCase {
}
}
- /* TODO(amisail): check once anjulij updates ObjectOutputStream
public void testSerializationSelf() throws Exception {
SerializationTest.verifySelf(getSerializationData());
}
@@ -263,9 +262,7 @@ public class SubjectTest extends TestCase {
public void testSerializationGolden() throws Exception {
SerializationTest.verifyGolden(this, getSerializationData());
}
- */
- /* TODO(amisail): check once anjulij updates ObjectOutputStream
public void testSerialization_nullPrincipalsAllowed() throws Exception {
Set<Principal> principalsSet = new HashSet<>();
principalsSet.add(new X500Principal("CN=SomePrincipal"));
@@ -275,7 +272,6 @@ public class SubjectTest extends TestCase {
false /* readOnly */, principalsSet, new HashSet<Object>(), new HashSet<Object>());
SerializationTest.verifySelf(subject);
}
- */
public void testSecureTest_removeAllNull_throwsException() throws Exception {
Subject subject = new Subject(
