### Question:
ConfigTypeImpl implements ConfigType { public static ConfigType byName(String name) { return byNameAndExtensions(name, singleton('.' + name), name); }  static ConfigType byName(String name); static ConfigType byNameAndExtensions(String name, Set<String> sourceExtensions, String resultFileName);  }### Answer:
@Test void createByName() { ConfigType app = byName("app"); assertEquals("app", app.getName()); assertEquals("app", app.getResultFileName()); assertEquals(singleton(".app"), app.getSourceExtensions()); }