public void SimpleConstructor() { //Arrange var jobId = 22; var jobReference = "senders-reference"; var jobStatus = JobStatus.Failed; var jobReferences = DomainUtility.GetJobReferences(); var signatures = DomainUtility.GetSignatures(1); var nextPermittedPollTime = DateTime.Now; //Act var jobStatusResponse = new JobStatusResponse( jobId, jobReference, jobStatus, jobReferences, signatures, nextPermittedPollTime ); //Assert Assert.Equal(jobId, jobStatusResponse.JobId); Assert.Equal(jobReference, jobStatusResponse.JobReference); Assert.Equal(jobStatus, jobStatusResponse.Status); Assert.Equal(jobReferences, jobStatusResponse.References); Assert.Equal(signatures, jobStatusResponse.Signatures); Assert.Equal(nextPermittedPollTime, jobStatusResponse.NextPermittedPollTime); }