### Question:
AccessControllerState { public PropertiesOrganization getOrganization(long internalID) { return organizationMap.get(internalID); } private  AccessControllerState(Map<String, PropertiesFunction> functionMap, Map<Long, PropertiesOrganization> organizationMap, Map<Long, PropertiesSubject> subjectMap); PropertiesFunction getFunction(String name); PropertiesOrganization getOrganization(long internalID); PropertiesOrganization getOrganization(String name); PropertiesSubject getSubject(long internalID); PropertiesSubject getSubject(String name); Set<PropertiesOrganization> getParentOrganizations(long internalID); Set<PropertiesOrganization> getChildOrganizations(long internalID); Set<PropertiesSubject> getParentSubjects(long internalID); static Builder builder();  }### Answer:
@Test public void testGetOrganization() { PropertiesOrganization organization = PropertiesOrganization.builder() .setInternalID(42) .setName("name") .build(); AccessControllerState state = AccessControllerState.builder().addOrganization(organization).build(); assertSame(organization, state.getOrganization(organization.getInternalID())); assertSame(organization, state.getOrganization(organization.getName())); }