use of com.axway.ats.rbv.PollingParameters in project ats-framework by Axway.
the class Test_PollingParameters method testGetters.
@Test
public void testGetters() {
PollingParameters params = new PollingParameters(100, 200, 5);
assertTrue(params.getInitialDelay() == 100);
assertTrue(params.getPollInterval() == 200);
assertTrue(params.getPollAttempts() == 5);
}
use of com.axway.ats.rbv.PollingParameters in project ats-framework by Axway.
the class Test_PollingParameters method testSetters.
@Test
public void testSetters() {
PollingParameters params = new PollingParameters(10, 20, 1);
params.setInitialDelay(100);
params.setPollInterval(200);
params.setPollAttempts(5);
assertTrue(params.getInitialDelay() == 100);
assertTrue(params.getPollInterval() == 200);
assertTrue(params.getPollAttempts() == 5);
}
Aggregations