### Question:
UpdateRule implements IUpdateRule<EXPERIENCE_TYPE> { @Override public void notifyNewBatchStarted() { updater.synchronizeCurrent(); } UpdateRule(@NonNull IUpdateAlgorithm<RESULT_TYPE, EXPERIENCE_TYPE> updateAlgorithm,
                      @NonNull INeuralNetUpdater<RESULT_TYPE> updater); @Override void update(List<EXPERIENCE_TYPE> trainingBatch); @Override void notifyNewBatchStarted();  }### Answer:
@Test public void when_callingNotifyNewBatchStarted_expect_synchronizeCurrentCalled() { sut.notifyNewBatchStarted(); verify(updater, times(1)).synchronizeCurrent(); }