public void JobToJobEntity_Test()
        {
            var currentTime = DateTime.UtcNow;
            var job         = new Job
            {
                DateTimeSubmittedUtc = currentTime,
                DateTimeUpdatedUtc   = currentTime,
                JobId              = 1,
                Priority           = 1,
                RowVersion         = "test",
                Status             = JobStatusType.Ready,
                SubmittedBy        = "test",
                NotifyEmail        = "*****@*****.**",
                JobType            = JobType.IlrSubmission,
                CrossLoadingStatus = JobStatusType.Ready
            };

            var convertedJob = JobConverter.Convert(job);

            convertedJob.JobId.Should().Be(1);
            convertedJob.DateTimeSubmittedUtc.Should().Be(currentTime);
            convertedJob.DateTimeUpdatedUtc.Should().Be(currentTime);
            convertedJob.JobType.Should().Be(1);
            convertedJob.Priority.Should().Be(1);
            convertedJob.Status.Should().Be(1);
            convertedJob.NotifyEmail.Should().Be("*****@*****.**");
            convertedJob.SubmittedBy.Should().Be("test");
            convertedJob.CrossLoadingStatus.Should().Be((short)JobStatusType.Ready);
        }
        public void JobToJobEntity_Test_Null()
        {
            Job job          = null;
            var convertedJob = JobConverter.Convert(job);

            convertedJob.Should().BeNull();
        }