### Question:
DefaultScreenManager implements ScreenManager<IScreen> { @Override public void resize(int width, int height) { for (int i = this.activeScreens.size() - 1; i >= 0; i--) { IScreen screen = this.activeScreens.get(i); screen.onResize(width, height); } } DefaultScreenManager(); @Override void addScreen(String name, IScreen screen); @Override void removeScreen(String name); @Override void push(String name); @Override void leaveAllAndEnter(String name); @Override IScreen pop(); @Override IScreen getScreenByName(String name); @Override ObjectArrayList<IScreen> listScreens(); @Override ObjectArrayList<IScreen> listActiveScreens(); @Override void resize(int width, int height); @Override void update(); @Override void draw(); @Override void dispose();  }### Answer:
@Test public void testResize () { ScreenManager<IScreen> manager = this.createScreenManager(); manager.addScreen("dummy_screen", new IScreen() { @Override public void onStart(ScreenManager<IScreen> screenManager) { } @Override public void onStop() { } @Override public void onResume() { } @Override public void onPause() { } @Override public void onResize(int width, int height) { } @Override public void update(ScreenManager<IScreen> screenManager) { } @Override public void draw() { } }); manager.push("dummy_screen"); manager.resize(1280, 720); }