assertEquals("Wrong Result", Result.PROCESS_TASK, logger.getTaskType());
logger = new TaskLogger(registry, new ServiceDef(), "foo", "bar", "spam");
assertEquals("Wrong Result", Result.SERVICE, logger.getTaskType());
logger = new TaskLogger(registry, new ServiceInstance(), "foo", "bar", "spam");
assertEquals("Wrong Result", Result.SERVICE, logger.getTaskType());
logger = new TaskLogger(registry, new TestGroupTask(), "foo", "bar", "spam");
assertEquals("Wrong Result", Result.TESTGROUP, logger.getTaskType());