BinaryStudio.TaskManager.Logic.Tests.TaskProcessorTests.Should_UpdateTask_WhenTaskIsTheOnlyArgumentOfUpdate C# (CSharp) Method

Should_UpdateTask_WhenTaskIsTheOnlyArgumentOfUpdate() private method

        public void Should_UpdateTask_WhenTaskIsTheOnlyArgumentOfUpdate()
        {
            var testTask = new HumanTask { Id = 4, Name = "Fourth Task" };

            this.processorUnderTest.UpdateTask(testTask);

            this.mockHumanTaskRepository.Verify(it => it.Update(testTask), Times.Once());
        }