### Question:
EdOrgContextResolverFactory { public ContextResolver getResolver(String entityType) { return resolverMap.get(entityType); }  ContextResolver getResolver(String entityType);  }### Answer:
@Test public void test() { assertNull(factory.getResolver("doesn't exist")); ContextResolver resolver = factory.getResolver("educationOrganization"); assertTrue(resolver instanceof SimpleEntityTypeContextResolver); }
@Test public void testStudentParent() { assertTrue(factory.getResolver("studentParentAssociation") instanceof StudentDirectRelatedContextResolver); }