Example #1
0
        public Company GetCompany()
        {
            var name = _nameGen.GetCompany().Split(' ');

            return(_lastGenerated = new Company(name[0], _emailGen.GetEmailAddress(EmailType.Random),
                                                _phoneGen.GetPhoneNumber(PhoneNumberType.Domestic), _addressGen.GetAddress()));
        }
Example #2
0
        public User GetUser()
        {
            var name = _nameGen.GetName().Split(' ');

            return(_lastGenerated = new User(name[0], name[1], _emailGen.GetEmailAddress(EmailType.Random),
                                             _phoneGen.GetPhoneNumber(PhoneNumberType.Domestic), "PopUpStuff", "PopUpStuff", _addressGen.GetAddress()));
        }