parent
5cf676b5b9
commit
341b578b4f
|
@ -30,6 +30,7 @@ import java.util.concurrent.CountDownLatch;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
import org.apache.commons.lang3.AbstractLangTest;
|
import org.apache.commons.lang3.AbstractLangTest;
|
||||||
|
import org.apache.commons.lang3.ArrayUtils;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -407,8 +408,7 @@ public class EventCountCircuitBreakerTest extends AbstractLangTest {
|
||||||
* @param values the expected values
|
* @param values the expected values
|
||||||
*/
|
*/
|
||||||
public void verify(final Boolean... values) {
|
public void verify(final Boolean... values) {
|
||||||
assertArrayEquals(values,
|
assertArrayEquals(values, changedValues.toArray(ArrayUtils.EMPTY_BOOLEAN_OBJECT_ARRAY));
|
||||||
changedValues.toArray(new Boolean[0]));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue