### Question:
FixedTaskExecutionBackOff implements TaskExecutionBackOff { public void setInterval(long interval) { checkInterval(interval); this.interval = interval; } FixedTaskExecutionBackOff();  FixedTaskExecutionBackOff(long interval, int maxRetries); long getInterval(); void setInterval(long interval); int getMaxRetries(); void setMaxRetries(int maxRetries); @Override long nextBackOff(Object object, RqueueMessage rqueueMessage, int failureCount); @Override boolean equals(Object other); static final long DEFAULT_INTERVAL; }### Answer:
@Test public void setInterval() { FixedTaskExecutionBackOff backOff = new FixedTaskExecutionBackOff(); backOff.setInterval(200L); assertEquals(200L, backOff.nextBackOff(null, null, 1)); assertEquals(200L, backOff.getInterval()); }