### Question:
World { public void stop() { LOGGER.info("Stop game."); isRunning = false; } World(); void run(); void stop(); void addEntity(Entity entity);  }### Answer:
@Test public void testStop() { world.stop(); Assert.assertEquals(false, world.isRunning); }