question: public void testSetPublicKey2 ( ) throws Exception { Identity i2 = new IdentityStub ( "testSetPublicKey2_2" , IdentityScope . getSystemScope ( ) ) ; new PublicKeyStub ( "kkk" , "testSetPublicKey2" , new byte [ ] { 1 , 2 , 3 , 4 , 5 } ) ; try { i2 . setPublicKey ( null ) ; } catch ( KeyManagementException ok ) { } }
target:  verify Identity.setPublicKey() throws KeyManagementException if key is invalid