FSEntityResolver implements EntityResolver { public Map<String, String> getEntities() { return Collections.unmodifiableMap(entities); } private  FSEntityResolver(); @Override InputSource resolveEntity(String publicID,
                                     String systemID); static FSEntityResolver instance(); Map<String, String> getEntities();  }
@Test public void testGetEntities() { FSEntityResolver instance = FSEntityResolver.instance(); Map<String, String> entities = instance.getEntities(); String publicId = "- Assert.assertTrue(entities.containsKey(publicId)); }