public static Customer ReturnMrJBloggsFromReading() { return(new Customer { Address = AddressMocks.ReturnClearwaterCourtAddress(), Title = "Mr", FirstName = "J", Surname = "Bloggs" }); }
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() }); }