question: @ AndroidOnly ( "Test filed on RI: getRevokedCertificate throws " + "RuntimeException." ) public void testGetRevokedCertificate ( ) { try { tbt_crl . getRevokedCertificate ( ( X509Certificate ) null ) ; fail ( "NullPointerException should be thrown " + "in the case of null input data." ) ; } catch ( NullPointerException e ) { } try { CertificateFactory cf = CertificateFactory . getInstance ( "X.509" ) ; X509Certificate cert = ( X509Certificate ) cf . generateCertificate ( certArray ) ; tbt_crl . getRevokedCertificate ( cert ) ; } catch ( Exception e ) { fail ( "Unexpected exception: " + e ) ; } }
target:  getRevokedCertificate(X509Certificate certificate) method testing. Check if the default implementation throws NullPointerException on null input data.