@Test
public void testDeleteFile05() throws Exception {

    // テスト対象のインスタンス化
    FileControlImpl fileControl = PowerMockito.spy(new FileControlImpl());
    // 引数の設定
    String srcFile = null;
    // 前提条件の設定
    String basePath = "";
    ReflectionTestUtils.setField(fileControl, "basePath", basePath);
    PowerMockito.mockStatic(FileUtility.class);
    ArgumentCaptor<String> fileUtilityStringArgumentCaptor = ArgumentCaptor
            .forClass(String.class);
    PowerMockito.doCallRealMethod().when(FileUtility.class, "deleteFile",
            fileUtilityStringArgumentCaptor.capture());
    Method getAbsolutePathMethod = PowerMockito.method(
            FileControlImpl.class, "getAbsolutePath", String.class);
    ArgumentCaptor<String> fileControlStringArgumentCaptor = ArgumentCaptor
            .forClass(String.class);
    PowerMockito.doCallRealMethod().when(fileControl, getAbsolutePathMethod)
            .withArguments(fileControlStringArgumentCaptor.capture());
    try {
        // テスト実施
        fileControl.deleteFile(srcFile);
        fail("FileExceptionが発生しませんでした。失敗です。");
    } catch (FileException e) {
        // 返却値なし
        // 状態変化の確認
        PowerMockito.verifyPrivate(fileControl).invoke(
                getAbsolutePathMethod).withArguments(Mockito.anyString());
        PowerMockito.verifyStatic(Mockito.never());
        FileUtility.deleteFile(Mockito.anyString());
        assertEquals(FileException.class, e.getClass());
        assertEquals("File name is not set.", e.getMessage());
        assertNull(e.getFileName());
    }
}