### Question:
GiantController { public void setNourishment(Nourishment nourishment) { this.giant.setNourishment(nourishment); } GiantController(GiantModel giant, GiantView view); @SuppressWarnings("UnusedReturnValue") Health getHealth(); void setHealth(Health health); @SuppressWarnings("UnusedReturnValue") Fatigue getFatigue(); void setFatigue(Fatigue fatigue); @SuppressWarnings("UnusedReturnValue") Nourishment getNourishment(); void setNourishment(Nourishment nourishment); void updateView();  }### Answer:
@Test public void testSetNourishment() { final var model = mock(GiantModel.class); final var view = mock(GiantView.class); final var controller = new GiantController(model, view); verifyZeroInteractions(model, view); for (final var nourishment : Nourishment.values()) { controller.setNourishment(nourishment); verify(model).setNourishment(nourishment); verifyZeroInteractions(view); } controller.getNourishment(); verify(model).getNourishment(); verifyNoMoreInteractions(model, view); }