LcdDigits { void displayNumber(final int number) { screen.displayFirstLine(lookupTable.get(number)[0]); screen.displaySecondLine(lookupTable.get(number)[1]); screen.displayThirdLine(lookupTable.get(number)[2]); } LcdDigits(IScreen screen);   }
@Test public void prints_first_line_on_screen() throws Exception { int number = 0; tested.displayNumber(number); verify(screen).displayFirstLine(" _ "); }
@Test public void should_display_second_line_on_screen() throws Exception { int number = 0; tested.displayNumber(number); verify(screen).displaySecondLine("| |"); }
@Test public void should_display_third_line_on_screen() throws Exception { int number = 0; tested.displayNumber(number); verify(screen).displayThirdLine("|_|"); }