public class DelayDTOTest {
@Test
public void shouldReturnValueSetInConstructor() {
// when
DelayDTO delay = new DelayDTO(new Delay(TimeUnit.DAYS, 5));
// then
assertThat(delay.getTimeUnit(), is(TimeUnit.DAYS));
assertThat(delay.getValue(), is(5l));
}