public async void Note_Update_null()
        {
            Mock <IPipelineStepNoteRepository> pipelineStepNoteRepository = new Mock <IPipelineStepNoteRepository>();

            pipelineStepNoteRepository.Setup(x => x.Get(It.IsAny <int>())).Returns(Task.FromResult(new PipelineStepNote()));

            var validator = new ApiPipelineStepNoteServerRequestModelValidator(pipelineStepNoteRepository.Object);
            await validator.ValidateUpdateAsync(default(int), new ApiPipelineStepNoteServerRequestModel());

            validator.ShouldHaveValidationErrorFor(x => x.Note, null as string);
        }
        public async void EmployeeId_Update_Valid_Reference()
        {
            Mock <IPipelineStepNoteRepository> pipelineStepNoteRepository = new Mock <IPipelineStepNoteRepository>();

            pipelineStepNoteRepository.Setup(x => x.EmployeeByEmployeeId(It.IsAny <int>())).Returns(Task.FromResult <Employee>(new Employee()));

            var validator = new ApiPipelineStepNoteServerRequestModelValidator(pipelineStepNoteRepository.Object);
            await validator.ValidateUpdateAsync(default(int), new ApiPipelineStepNoteServerRequestModel());

            validator.ShouldNotHaveValidationErrorFor(x => x.EmployeeId, 1);
        }