HDFS-14307. RBF: Update tests to use internal Whitebox instead of Mockito. Contributed by CR Hota.

This commit is contained in:
Inigo Goiri 2019-02-21 17:23:46 -08:00 committed by Brahma Reddy Battula
parent 8b8ff5ccbc
commit de719b08b5

View File

@ -25,8 +25,8 @@
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.doThrow;
import static org.mockito.Mockito.mock;
import static org.mockito.internal.util.reflection.Whitebox.getInternalState;
import static org.mockito.internal.util.reflection.Whitebox.setInternalState;
import static org.apache.hadoop.test.Whitebox.getInternalState;
import static org.apache.hadoop.test.Whitebox.setInternalState;
import java.io.IOException;
import java.lang.reflect.Method;