public void Tasks_DefinitionHasTwoTasks_AskForTask_ReturnsAllTasks() { // Arrange string definitions = LoadResourceAsString("Altinn.Process.UnitTest.TestData.default_process.bpmn"); BpmnReader target = BpmnReader.Create(definitions); // Act List <string> actual = target.Tasks(); // Assert Assert.NotNull(actual); Assert.Equal(2, actual.Count); }