@Test public void testConstruction() { final String securityGroupValue = "1"; final SecurityGroup securityGroup = SecurityGroup.securityGroup(securityGroupValue); assertThat(securityGroup, is(notNullValue())); assertThat(securityGroup.securityGroup(), is(securityGroupValue)); }
public String securityGroup() { return securityGroup; }
SecurityGroup { public String securityGroup() { return securityGroup; } }
SecurityGroup { public String securityGroup() { return securityGroup; } private  SecurityGroup(String securityGroup); }
SecurityGroup { public String securityGroup() { return securityGroup; } private  SecurityGroup(String securityGroup); String securityGroup(); static SecurityGroup securityGroup(String securityGroup); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
SecurityGroup { public String securityGroup() { return securityGroup; } private  SecurityGroup(String securityGroup); String securityGroup(); static SecurityGroup securityGroup(String securityGroup); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }