📅  最后修改于: 2022-03-11 14:52:33.849000             🧑  作者: Mango
@Test
public void readFileTest5() throws Exception {
BufferedReader bufferedReader = Mockito.mock(BufferedReader.class);
FileReader fileReader = Mockito.mock(FileReader.class);
when(BufferedReader.readLine()).thenReturn("abc");
assertEquals("",new ArrayList(), FileUtil.readFile("abc"));
}