Example #1
0
        public dynamic GenerateAddressExpected()
        {
            var stateFixture = new StateTestFixture();
            var faker        = new Faker("pt_BR");

            return(new
            {
                Id = Guid.NewGuid(),
                ZipCode = faker.Address.ZipCode(),
                Street = faker.Address.StreetAddress(),
                Number = faker.Random.Number(1, 9999).ToString(),
                Complement = faker.Address.SecondaryAddress(),
                District = faker.Address.Direction(),
                State = stateFixture.GenerateStateWithCountryValidExpected(),
                CityId = Guid.NewGuid(),
                CityName = faker.Address.City()
            });
        }
Example #2
0
        public dynamic GenerateStateWithCountryValidExpected()
        {
            var stateFixture = new StateTestFixture();

            return(stateFixture.GenerateStateWithCountryValidExpected());
        }