@Test
public void testReadLine10() throws Exception {

    // 前処理(引数)
    String encoding = "UTF-8";
    int totalBytes = 10;
    // Mock作成
    Reader reader = mock(Reader.class);
    when(reader.read()).thenThrow(new IOException());
    LineFeed0LineReader target = new LineFeed0LineReader(reader, encoding, totalBytes);
    // テスト実施
    try {
        target.readLine();
        fail();
    } catch (Exception e) {
        // 判定
        assertTrue(e instanceof FileException);
        assertEquals("Reader control operation was failed.", e.getMessage());
        assertTrue(e.getCause() instanceof IOException);
    }
}