@Test
public void testUpdatedDetectorLastUsed() {

    Map<String, String> requestBody = Collections.singletonMap("detectorUuid", someUuid.toString());
    controllerUnderTest.updatedDetectorLastUsed(requestBody);
    verify(detectorService, times(1)).updateDetectorLastUsed(someUuid.toString());
}