### Question:
PropertiesBasedIdentityResolver implements IdentityResolver { @Override public FunctionIdentity resolveFunctionIdentity(String name) { return FunctionIdentifier.builder().setName(name).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 testResolveFunctionIdentity() { String name = "test"; FunctionIdentity identity = resolver.resolveFunctionIdentity(name); assertTrue(identity instanceof FunctionIdentifier); assertEquals(name, FunctionIdentifier.class.cast(identity).getName()); }