question: public void testIdentityStringIdentityScope ( ) throws Exception { IdentityScope s = IdentityScope . getSystemScope ( ) ; Identity i = new IdentityStub ( "iii2" , s ) ; assertNotNull ( i ) ; assertEquals ( "iii2" , i . getName ( ) ) ; assertSame ( s , i . getScope ( ) ) ; assertSame ( i , s . getIdentity ( i . getName ( ) ) ) ; }
target:  verify Identity(String, IdentityScope) creates instance with given name and in give scope