### Question:
Setup extends Configurer { public final Media getIconFile() { return iconFile.orElseThrow(() -> new LionEngineException(ERROR_ICON_FILE)); } Setup(Media config); @SuppressWarnings("unchecked") final Class<T> getConfigClass(ClassLoader classLoader); final Media getSurfaceFile(); final Media getIconFile(); final ImageBuffer getSurface(); final ImageBuffer getIcon();  }### Answer:
@Test void testConfigNoIcon() { final Media config = Medias.create("ObjectNoIcon.xml"); final Setup setup = new Setup(config); assertEquals(config, setup.getMedia()); assertThrows(() -> setup.getIconFile(), Setup.ERROR_ICON_FILE); assertNotNull(setup); }
@Test void testNoIcon() { final Setup setup = new Setup(Medias.create("ObjectNoConstructor.xml")); assertThrows(() -> setup.getIconFile(), Setup.ERROR_ICON_FILE); }