@Test
public void testUpdateDetectorLastUsed() {

    serviceUnderTest.updateDetectorLastUsed(someUuid.toString());
    verify(repository, times(1)).findByUuid(someUuid.toString());
    verify(repository, times(1)).save(legalParamsDetector);
}