@Test
public void testUpdateDetectorTrainingTime() {

    val uuid = this.someUuid.toString();
    val timestamp = DateUtil.toUtcDate("2020-07-15 20:00:00").toInstant().toEpochMilli();
    serviceUnderTest.updateDetectorTrainingTime(uuid, timestamp);
    verify(repository, times(1)).findByUuid(someUuid.toString());
    verify(repository, times(1)).save(legalParamsDetector);
}