### Question:
ScreenBuilder { @Nonnull public Screen build(@Nonnull final Nifty nifty) { NiftyStopwatch.start(); Screen screen = creator.create(nifty); Element screenRootElement = screen.getRootElement(); for (LayerBuilder layerBuilder : layerBuilders) { layerBuilder.build(nifty, screen, screenRootElement); } NiftyStopwatch.stop("ScreenBuilder.build ()"); return screen; } ScreenBuilder(@Nonnull final String id);  ScreenBuilder(final String id, final ScreenController controller); ScreenBuilder controller(final ScreenController controller); ScreenBuilder defaultFocusElement(final String defaultFocusElement); ScreenBuilder inputMapping(final String inputMapping); ScreenBuilder inputMappingPre(final String inputMappingPre); ScreenBuilder layer(final LayerBuilder layerBuilder); @Nonnull Screen build(@Nonnull final Nifty nifty);  }### Answer:
@Test public void constructWithId() { replay(screenCreator); ScreenBuilder screenBuilder = new ScreenBuilderCreatorMock(); assertEquals(screen, screenBuilder.build(niftyMock)); }
@Test public void constructWithIdAndScreenController() { MyScreenController screenController = new MyScreenController(); screenCreator.setScreenController(screenController); replay(screenCreator); ScreenBuilder screenBuilder = new ScreenBuilderCreatorMock(screenController); assertEquals(screen, screenBuilder.build(niftyMock)); }