@Test
public void testUpdateDetector() {

    controllerUnderTest.updateDetector(someUuid.toString(), legalParamsDetector);
    verify(detectorService, times(1)).updateDetector(someUuid.toString(), legalParamsDetector);
}