a5e00f
From 4dd332d8f82d3a5f0ac6654d2c1733e44da6ddbd Mon Sep 17 00:00:00 2001
a5e00f
From: Mat Booth <mat.booth@redhat.com>
a5e00f
Date: Thu, 7 Feb 2019 14:57:25 +0000
a5e00f
Subject: [PATCH 3/3] Avoid use of internal Mockito API
a5e00f
a5e00f
---
a5e00f
 .../compress/utils/FixedLengthBlockOutputStreamTest.java        | 2 --
a5e00f
 1 file changed, 2 deletions(-)
a5e00f
a5e00f
diff --git a/src/test/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStreamTest.java b/src/test/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStreamTest.java
a5e00f
index cfda61b..e94ccee 100644
a5e00f
--- a/src/test/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStreamTest.java
a5e00f
+++ b/src/test/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStreamTest.java
a5e00f
@@ -39,7 +39,6 @@ import java.nio.file.Path;
a5e00f
 import java.util.concurrent.atomic.AtomicBoolean;
a5e00f
 import org.hamcrest.core.IsInstanceOf;
a5e00f
 import org.junit.Test;
a5e00f
-import org.mockito.internal.matchers.GreaterOrEqual;
a5e00f
 
a5e00f
 public class FixedLengthBlockOutputStreamTest {
a5e00f
 
a5e00f
@@ -294,7 +293,6 @@ public class FixedLengthBlockOutputStreamTest {
a5e00f
 
a5e00f
     private static void assertContainsAtOffset(String msg, byte[] expected, int offset,
a5e00f
         byte[] actual) {
a5e00f
-        assertThat(actual.length, new GreaterOrEqual<>(offset + expected.length));
a5e00f
         for (int i = 0; i < expected.length; i++) {
a5e00f
             assertEquals(String.format("%s ([%d])", msg, i), expected[i], actual[i + offset]);
a5e00f
         }
a5e00f
-- 
a5e00f
2.20.1
a5e00f