public async void Note_Create_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.ValidateCreateAsync(new ApiPipelineStepNoteServerRequestModel());

            validator.ShouldHaveValidationErrorFor(x => x.Note, null as string);
        }
        public async void EmployeeId_Create_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.ValidateCreateAsync(new ApiPipelineStepNoteServerRequestModel());

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