HDFS-17546. Follow-up backport from branch3.3 (#6908)
HDFS-17546. Follow-up backport from branch3.3
This commit is contained in:
parent
68fcd7234c
commit
f6c45e0bcf
@ -30,10 +30,10 @@
|
||||
import org.mockito.invocation.InvocationOnMock;
|
||||
import org.mockito.stubbing.Answer;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.Mockito;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.mockito.Mockito.when;
|
||||
import org.mockito.MockitoAnnotations;
|
||||
|
||||
/**
|
||||
* Test for JSON based HostsFileReader.
|
||||
@ -56,7 +56,7 @@ public class TestCombinedHostsFileReader {
|
||||
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
callable = Mockito.mock(Callable.class);
|
||||
MockitoAnnotations.initMocks(this);
|
||||
}
|
||||
|
||||
@After
|
||||
|
Loading…
Reference in New Issue
Block a user