public static Contact GetContactContactReservationNull() { var contact = GetContactOk(); var contactType = ContactTypeFaker.GetContactTypeOk(); return(Contact.Factory.GetContact( name: contact.Name, phoneNumber: contact.PhoneNumber, birthDate: contact.BirthDate, contactType: contactType, null )); }
public static Contact GetContactOk() { var faker = new Faker(); var name = faker.Name.FullName(); var phoneNumer = "555 555 1212"; var birthDate = faker.Date.Past(); var contactType = ContactTypeFaker.GetContactTypeOk(); return(Contact.Factory.GetContact(name: name, phoneNumber: phoneNumer, birthDate: birthDate, contactType: contactType, reservations: new List <Reservation>())); }