### Question:
CompartmentCache { public List<String> getResourceTypesInCompartment() { return Collections.unmodifiableList(new ArrayList<String>(codeAndParams.keySet())); } CompartmentCache(); void add(java.lang.String inclusionCode, List<com.ibm.fhir.model.type.String> params); List<String> getResourceTypesInCompartment(); List<String> getParametersByResourceTypeInCompartment(String resourceType);  }### Answer:
@Test() public void testGetResourceTypesInCompartmentWhenEmptyCompartmentCache() { CompartmentCache cache = new CompartmentCache(); List<String> results = cache.getResourceTypesInCompartment(); assertNotNull(results); assertTrue(results.isEmpty()); }