use of org.apache.harmony.security.tests.support.cert.MyFailingCertificate in project robovm by robovm.
the class CertificateTest method testWriteReplace2.
/**
* This test just calls <code>writeReplace()</code> method<br>
*/
public final void testWriteReplace2() {
MyCertificate c1 = new MyFailingCertificate("TEST_TYPE", testEncoding);
try {
c1.writeReplace();
fail();
} catch (ObjectStreamException expected) {
}
}
Aggregations