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 ef1aaa7a50
commit a701c13df2
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ import static org.junit.Assert.fail;
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;