### Question:
LearningBehavior implements ILearningBehavior<ACTION> { @Override public void handleEpisodeStart() { experienceHandler.reset(); }  @Override void handleEpisodeStart(); @Override void handleNewExperience(Observation observation, ACTION action, double reward, boolean isTerminal); @Override void handleEpisodeEnd(Observation finalObservation); void notifyBeforeStep();  }### Answer:
@Test public void when_callingHandleEpisodeStart_expect_experienceHandlerResetCalled() { LearningBehavior<Integer, Object> sut = LearningBehavior.<Integer, Object>builder() .experienceHandler(experienceHandlerMock) .updateRule(updateRuleMock) .build(); sut.handleEpisodeStart(); verify(experienceHandlerMock, times(1)).reset(); }