Ejemplo n.º 1
0
        public void AmericanAddressGeneratorTest()
        {
            IGenerator <string> americanaddy = new AmericanAddressGenerator();
            var address = (string)americanaddy.Generate();

            Assert.IsNotNull(address);
        }
Ejemplo n.º 2
0
        public void AmericanAddressGenerator()
        {
            IAmericanAddressGenerator americanaddressgenerator = new AmericanAddressGenerator();
            string address = americanaddressgenerator.Generate(random);

            Assert.IsNotNull(address);
        }
Ejemplo n.º 3
0
 public void AmericanAddressGeneratorWithStringOverride()
 {
     IAmericanAddressGenerator americanaddressgenerator = new AmericanAddressGenerator();
     string address = americanaddressgenerator.Generate(random, "123 Main");
     Assert.IsNotNull(address);
     Assert.AreEqual("123 Main", address);
 }
Ejemplo n.º 4
0
        public void AmericanAddressGeneratorWithStringOverride()
        {
            IAmericanAddressGenerator americanaddressgenerator = new AmericanAddressGenerator();
            string address = americanaddressgenerator.Generate(random, "123 Main");

            Assert.IsNotNull(address);
            Assert.AreEqual("123 Main", address);
        }
Ejemplo n.º 5
0
 public void AmericanAddressGeneratorWithAttributeMap()
 {
     IAmericanAddressGenerator americanaddressgenerator = new AmericanAddressGenerator();
     AttributeMap attmap = new AttributeMap { GeneratorDefaultValue = "123 Main" };
     string address = americanaddressgenerator.Generate(random, attmap);
     Assert.IsNotNull(address);
     Assert.AreEqual("123 Main", address);
 }
Ejemplo n.º 6
0
        public void AmericanAddressGeneratorWithAttributeMap()
        {
            IAmericanAddressGenerator americanaddressgenerator = new AmericanAddressGenerator();
            AttributeMap attmap = new AttributeMap {
                GeneratorDefaultValue = "123 Main"
            };
            string address = americanaddressgenerator.Generate(random, attmap);

            Assert.IsNotNull(address);
            Assert.AreEqual("123 Main", address);
        }
Ejemplo n.º 7
0
 public void AmericanAddressGenerator()
 {
     IAmericanAddressGenerator americanaddressgenerator = new AmericanAddressGenerator();
     string address = americanaddressgenerator.Generate(random);
     Assert.IsNotNull(address);
 }
Ejemplo n.º 8
0
 public void AmericanAddressGeneratorTest()
 {
     IGenerator<string> americanaddy = new AmericanAddressGenerator();
     var address = (string) americanaddy.Generate();
     Assert.IsNotNull(address);
 }