### Question:
WindowConfig { public void fillConfig (Lwjgl3ApplicationConfiguration config) { config.setTitle(section.get("title")); config.setWindowedMode(getInt("width"), getInt("height")); config.setWindowIcon(section.get("iconPath")); config.setResizable(getBoolean("resizeable")); config.useVsync(getBoolean("vsync")); if (getBoolean("fullscreen")) { throw new UnsupportedOperationException("fullscreen isnt supported yet."); } } WindowConfig(String filePath); void fillConfig(Lwjgl3ApplicationConfiguration config);  }### Answer:
@Test public void testFillConfig () throws IOException { WindowConfig windowConfig = new WindowConfig("../config/junit-window.cfg"); Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration(); windowConfig.fillConfig(config); }
@Test (expected = UnsupportedOperationException.class) public void testFillConfig2 () throws IOException { WindowConfig windowConfig = new WindowConfig("../config/junit-window2.cfg"); Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration(); windowConfig.fillConfig(config); }