question: public void testGetPublicKey ( ) throws Exception { Identity i = new IdentityStub ( "testGetPublicKey" ) ; assertNull ( i . getPublicKey ( ) ) ; PublicKey pk = new PublicKeyStub ( "kkk" , "Identity.testGetPublicKey" , null ) ; i . setPublicKey ( pk ) ; assertSame ( pk , i . getPublicKey ( ) ) ; }
target:  verify Identity.getPublicKey() returns public key