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

    DefaultSingleOutputWriter victim = new DefaultSingleOutputWriter(ExistingOutputPolicy.OVERWRITE, context);
    victim.dispatch(new FileTaskOutput(folder.newFile()));
}