@Test(expected = RecordNotFoundException.class)
public void testFindByUuid_record_not_found_null_response() {

    when(detectorRepo.findByUuid(anyString())).thenReturn(null);
    controllerUnderTest.findByUuid(someUuid.toString());
}