@Test
public void testGetTimeoutValidation() throws InterruptedException
{

    Integer testSeconds = 1;
    Date start = new Date();
    // Call the method under test.
    TimeoutValidationResponse result = herdRestController.getTimeoutValidation(testSeconds);
    long timeDiff = (new Date().getTime() - start.getTime()) / 1000;
    assertTrue(  timeDiff >= testSeconds);
    // Validate the results.
    assertEquals("Successfully waited for " + testSeconds + " seconds.", result.getMessage());
}