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