### Question:
GiantController { public void setHealth(Health health) { this.giant.setHealth(health); } 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 testSetHealth() { 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 health : Health.values()) { controller.setHealth(health); verify(model).setHealth(health); verifyZeroInteractions(view); } controller.getHealth(); verify(model).getHealth(); verifyNoMoreInteractions(model, view); }