@Test
public void testMessage() {

    Assert.assertEquals("Timeout deadline: 1000 MILLISECONDS, actual: 2000 MILLISECONDS",
            TimeoutValueException.fromMilliseconds(1000, 2000).getMessage());
}