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

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