예제 #1
0
 public static Customer ReturnMrJBloggsFromReading()
 {
     return(new Customer
     {
         Address = AddressMocks.ReturnClearwaterCourtAddress(),
         Title = "Mr",
         FirstName = "J",
         Surname = "Bloggs"
     });
 }
예제 #2
0
 public static Job ReturnPriority1BlockageInvestigationCustomerCalledJob()
 {
     return(new Job
     {
         Id = Guid.NewGuid().ToString(),
         Priority = 1,
         Status = "Customer Called",
         Type = "Blockage Investigation",
         PostCode = AddressMocks.ReturnClearwaterCourtAddress().PostCode,
         Details = JobDetailsMock.ReturnPriority1BlockageInvestigation(),
         Customer = CustomerMocks.ReturnMrJBloggsFromReading(),
         JobAddress = AddressMocks.ReturnClearwaterCourtAddress()
     });
 }