use of org.apache.harmony.security.tests.support.cert.MyFailingCertPath in project robovm by robovm.
the class CertPathTest method testWriteReplace_ObjectStreamException.
public final void testWriteReplace_ObjectStreamException() {
try {
MyFailingCertPath cp = new MyFailingCertPath(testEncoding);
Object obj = cp.writeReplace();
fail("expected ObjectStreamException");
} catch (ObjectStreamException e) {
// ok
}
}
Aggregations