Search in sources :

Example 1 with Status

use of com.oath.cyclops.react.Status in project cyclops by aol.

the class StatusTest method testGetMillis.

@Test
public void testGetMillis() {
    Status status = new Status(0, 0, 0, 1000000L, null);
    assertThat(status.getElapsedMillis(), is(1L));
}
Also used : Status(com.oath.cyclops.react.Status) Test(org.junit.Test)

Aggregations

Status (com.oath.cyclops.react.Status)1 Test (org.junit.Test)1