public void testGetScope() throws Exception {
  Identity i=new IdentityStub("testGetScope");
  assertNull(i.getScope());
  IdentityScope s=IdentityScope.getSystemScope();
  Identity i2=new IdentityStub("testGetScope2",s);
  assertSame(s,i2.getScope());
}

public void testGetScope ( ) throws Exception { Identity i = new IdentityStub ( "testGetScope" ) ; assertNull ( i . getScope ( ) ) ; IdentityScope s = IdentityScope . getSystemScope ( ) ; Identity i2 = new IdentityStub ( "testGetScope2" , s ) ; assertSame ( s , i2 . getScope ( ) ) ; }
verify identity . getscope ( ) returns identity ' s scope
