Caller extends AbstractIdentityType implements Account, RoleAssignable { @AttributeProperty @StereotypeProperty(IDENTITY_USER_NAME) @Unique public String getLoginName() { return loginName; } Caller();  Caller(String loginName); @AttributeProperty @StereotypeProperty(IDENTITY_USER_NAME) @Unique String getLoginName(); void setLoginName(String loginName); static final QueryParameter LOGIN_NAME; }
@Test public void constructor_noArg() { Caller caller = new Caller(); assertNull("No arg constructor", caller.getLoginName()); }
@Test public void constructor_loginName() { Caller caller = new Caller("me"); assertEquals("me", caller.getLoginName()); }