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

    when(anomalyRepository.getAnomalies(request)).thenReturn(new ArrayList<>());
    controller.getAnomalies(request);
}