public void Should_UpdateTaskClosedFieldWithCurrentDate_WhenCloseIsCalled()
{
// arrange
this.mockHumanTaskRepository.Setup(it => it.GetById(1)).Returns(new HumanTask { Id = 1 });
// act
this.processorUnderTest.CloseTask(1);
// assert
this.mockHumanTaskRepository.Verify(it => it.Update(It.Is<HumanTask>(x => x.Closed != null)), Times.Once());
}