@Test
public void testReadLine01() throws Exception {

    // Mock作成
    Reader reader = mock(Reader.class);
    when(reader.read()).thenThrow(new IOException());
    String tempLineFeedChar = "\r";
    LineFeed1LineReader lineFeed1LineReader = new LineFeed1LineReader(reader, tempLineFeedChar);
    // テスト実施
    try {
        lineFeed1LineReader.readLine();
        fail("FileExceptionが発生しませんでした。");
    } catch (FileException e) {
        // 判定
        assertTrue(e instanceof FileException);
        assertEquals("Reader control operation was failed.", e
                .getMessage());
        assertTrue(e.getCause() instanceof IOException);
    }
}