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