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