public void When_AddParentTask_Then_VerifyResults()
        {
            var project = TestDataHelper.GetTask().Map();
            var result  = controller.AddParentTask(project);

            Assert.NotNull(result);
        }
Exemplo n.º 2
0
        public void TestWebAPIAddParentTask()
        {
            // Arrange
            ParentTask item = new ParentTask();

            item.ParentTaskName = "ParentTaskTestWebAPI" + parentCount;
            //Act
            projectObj.AddParentTask(item);

            //Assert
            int actual = projectObj.GetAllParentTask().Count;

            Assert.Greater(actual, parentCount);
        }