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

    when(detectorService.findByCreatedBy(anyString())).thenReturn(new ArrayList<>());
    controllerUnderTest.findByCreatedBy("kashah");
}