assertEquals("Wrong Result", Result.SERVICE, logger.getTaskType());
logger = new TaskLogger(registry, new TestGroupTask(), "foo", "bar", "spam");
assertEquals("Wrong Result", Result.TESTGROUP, logger.getTaskType());
logger = new TaskLogger(registry, new TestCaseTask(), "foo", "bar", "spam");
assertEquals("Wrong Result", Result.TESTCASE, logger.getTaskType());
logger = new TaskLogger(registry, new XharnessTask(), "foo", "bar", "spam");
assertEquals("Wrong Result", Result.XHARNESS, logger.getTaskType());