public void Should_AddTask() { var testTask = new HumanTask { Id = 4, Name = "Fourth Task" }; this.processorUnderTest.CreateTask(testTask); this.mockHumanTaskRepository.Verify(it => it.Add(testTask), Times.Once()); }