### Question:
PropertiesBasedIdentityResolver implements IdentityResolver { @Override public OrganizationIdentity resolveOrganizationIdentity(UUID id) { return OrganizationIdentifier.builder().setGlobalID(id).build(); }  @Override FunctionIdentity resolveFunctionIdentity(String name); @Override OrganizationIdentity resolveOrganizationIdentity(UUID id); @Override UUID resolveOrganizationUUID(OrganizationIdentity identity); @Override SubjectIdentity resolveSubjectIdentity(UUID id); @Override UUID resolveSubjectUUID(SubjectIdentity identity); @Override UUID resolveSubjectUUID(SessionDescriptor descriptor);  }### Answer:
@Test public void testResolveOrganizationIdentity() { UUID id = UUID.fromString("00000000-0000-0000-0000-000000000001"); OrganizationIdentity identity = resolver.resolveOrganizationIdentity(id); assertTrue(identity instanceof OrganizationIdentifier); assertEquals(id, OrganizationIdentifier.class.cast(identity).getGlobalID()); }