question: public void test_ConstructorLjava_security_cert_CertPathParameters ( ) { try { CertPathParameters parameters = new MyCertPathParameters ( ) ; CertPathTrustManagerParameters p = new CertPathTrustManagerParameters ( parameters ) ; assertNotSame ( "Parameters were cloned incorrectly" , parameters , p . getParameters ( ) ) ; } catch ( Exception e ) { fail ( "Unexpected exception " + e . toString ( ) ) ; } try { new CertPathTrustManagerParameters ( null ) ; fail ( "Expected CertPathTrustManagerParameters was not thrown" ) ; } catch ( NullPointerException npe ) { } }
target:  javax.net.ssl.CertPathTrustManagerParameters# CertPathTrustManagerParameters(java.security.cert.CertPathParameters) Case 1: Try to construct object. Case 2: Check NullPointerException.