@Override
    public void setConfigAttributes(Object attributes, TaskFactory taskFactory) {
        throw new UnsupportedOperationException("Not a configurable task");
    }
@Test
    public void shouldNotAllowSettingOfConfigAttributes() throws Exception {
        KillAllChildProcessTask processTask = new KillAllChildProcessTask();
        try {
            processTask.setConfigAttributes(new HashMap());
            fail("should have failed, as configuration of kill-all task is not allowed");
        } catch (UnsupportedOperationException e) {
            assertThat(e.getMessage(), is("Not a configurable task"));
        }
    }