### Question:
ResourceNamingServiceImpl implements ResourceNamingService { public static String simplifyName(String name) { String fixed = name.replaceAll(" ", "_"); fixed = fixed.replaceAll("[^0-9a-zA-Z_\\-\\.]", ""); return fixed; }  @Override String getName(Network network); @Override String getName(Identifiers identifiers); @Override String getName(Organism organism, AttributeMetadata attributeMetadata); @Override String getName(Organism organism, DataFile dataFile); static String simplifyName(String name); static final String IDENTS; static final String NETWORKS; static final String ATTR_META; }### Answer:
@Test public void testSimplifyName() { assertEquals("xyz.txt", simplifyName("xyz.txt")); assertEquals("_ab_CD0-5.txt", simplifyName(" ab_CD0-5().txt")); }