@Test
public void testGetTimeoutValidationNegativeNumber() throws InterruptedException {

    try
    {
        herdRestController.getTimeoutValidation(-1);
        fail("Expected an IllegalArgumentException to be thrown");
    } catch (IllegalArgumentException e) {
        assertEquals("Specified value \"-1\" does not fall within the range of 0 to 1800 seconds.", e.getMessage());
    }
}