use of org.contextmapper.dsl.generator.sketchminer.model.TaskType in project context-mapper-dsl by ContextMapper.
the class TaskTest method canCreateNormalTask.
@Test
public void canCreateNormalTask() {
// given
String name = "MyTask";
TaskType type = TaskType.COMMAND;
// when
Task task = new Task(name, type);
// then
assertEquals("MyTask", task.getName());
assertEquals("MyTask", task.toString());
assertEquals(TaskType.COMMAND, task.getType());
}