public async void PipelineStepStatusId_Create_Valid_Reference()
        {
            Mock <IPipelineStepRepository> pipelineStepRepository = new Mock <IPipelineStepRepository>();

            pipelineStepRepository.Setup(x => x.PipelineStepStatusByPipelineStepStatusId(It.IsAny <int>())).Returns(Task.FromResult <PipelineStepStatus>(new PipelineStepStatus()));

            var validator = new ApiPipelineStepServerRequestModelValidator(pipelineStepRepository.Object);
            await validator.ValidateCreateAsync(new ApiPipelineStepServerRequestModel());

            validator.ShouldNotHaveValidationErrorFor(x => x.PipelineStepStatusId, 1);
        }
        public async void ShipperId_Update_Valid_Reference()
        {
            Mock <IPipelineStepRepository> pipelineStepRepository = new Mock <IPipelineStepRepository>();

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

            var validator = new ApiPipelineStepServerRequestModelValidator(pipelineStepRepository.Object);
            await validator.ValidateUpdateAsync(default(int), new ApiPipelineStepServerRequestModel());

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