Fixed InvalidUseOfMatchersException in AtomicLongSequenceTest.java
@@ -13,8 +13,6 @@ import java.util.HashMap;
import java.util.Map;
import static org.assertj.core.api.Assertions.assertThat;
-import static org.mockito.ArgumentMatchers.anyInt;
-import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.*;
public class AtomicLongSequenceTest {
@@ -63,7 +61,7 @@ public class AtomicLongSequenceTest {
@Test(expected = UnsupportedOperationException.class)
public void getGeneratedVectorIsNotSupported() {
AtomicLongSequence atomicLongSequence = new AtomicLongSequence();
- atomicLongSequence.getGeneratedVector(null,null,anyString(),anyInt());
+ atomicLongSequence.getGeneratedVector(null,null,new String(),0);
}
@Test
