@Test(expected = IOException.class)
public void testIOExceptionSaveFile() throws IOException {

    resource = aeshContext.getCurrentWorkingDirectory().newInstance(".");
    FileUtils.saveFile(resource, "foo", false);
}