GiantController { public void updateView() { this.view.displayGiant(giant); } GiantController(GiantModel giant, GiantView view); Health getHealth(); void setHealth(Health health); Fatigue getFatigue(); void setFatigue(Fatigue fatigue); Nourishment getNourishment(); void setNourishment(Nourishment nourishment); void updateView();  }
@Test public void testUpdateView() { final GiantModel model = mock(GiantModel.class); final GiantView view = mock(GiantView.class); final GiantController controller = new GiantController(model, view); verifyZeroInteractions(model, view); controller.updateView(); verify(view).displayGiant(model); verifyNoMoreInteractions(model, view); }