@Test
public void testIsEnabledWhenUsageIsTimeoutAndCurrentTimeEqualsTimeoutShouldReturnTrue() {

    //GIVEN
    attributes = new DialogDescriptorAttributes("name", DialogDescriptorUsage.TIMEOUT);
    attributes.setTimeout(2000L);
    dialogDescriptor = new DialogDescriptor(attributes, null, null);
    given(currentDateProvider.getCurrentTimeInMillis()).willReturn(2000L);
    //WHEN
    boolean actual = underTest.isEnabled(dialogDescriptor);
    //THEN
    assertEquals(actual, true);
}