### Question:
Setup extends Configurer { @SuppressWarnings("unchecked") public final <T> Class<T> getConfigClass(ClassLoader classLoader) { if (clazz == null) { final FeaturableConfig config = FeaturableConfig.imports(this); try { clazz = classLoader.loadClass(config.getClassName()); } catch (final ClassNotFoundException exception) { throw new LionEngineException(exception, Setup.ERROR_CLASS + getMedia().getPath()); } } return (Class<T>) clazz; } 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 testClass() { final Media config = Medias.create("Object.xml"); final Setup setup = new Setup(config); assertEquals(FeaturableModel.class, setup.getConfigClass(ClassLoader.getSystemClassLoader())); assertEquals(FeaturableModel.class, setup.getConfigClass(ClassLoader.getSystemClassLoader())); }
@Test void testNoClass() { final Setup setup = new Setup(Medias.create("ObjectNoClass.xml")); assertCause(() -> setup.getConfigClass(ClassLoader.getSystemClassLoader()), ClassNotFoundException.class); }