public static Order Simple() { return(new Order { BillingAddress = AddressMother.Simple(), ShippingAddress = AddressMother.Simple(), OrderStatusId = (int)OrderStatus.Ids.Received, User = UserMother.Simple() }); }
public static User Simple() { return(new User { Address = AddressMother.Simple(), FirstName = GetRandom.FirstName(), LastName = GetRandom.LastName(), MiddleName = GetRandom.FirstName(), PasswordHash = GetRandom.String(), PhoneNumber = GetRandom.String(10, 10), UserName = GetRandom.String(1, 20) }); }