public void AmericanAddressGeneratorTest() { IGenerator <string> americanaddy = new AmericanAddressGenerator(); var address = (string)americanaddy.Generate(); Assert.IsNotNull(address); }
public void AmericanAddressGenerator() { IAmericanAddressGenerator americanaddressgenerator = new AmericanAddressGenerator(); string address = americanaddressgenerator.Generate(random); Assert.IsNotNull(address); }
public void AmericanAddressGeneratorWithStringOverride() { IAmericanAddressGenerator americanaddressgenerator = new AmericanAddressGenerator(); string address = americanaddressgenerator.Generate(random, "123 Main"); Assert.IsNotNull(address); Assert.AreEqual("123 Main", address); }
public void AmericanAddressGeneratorWithStringOverride() { IAmericanAddressGenerator americanaddressgenerator = new AmericanAddressGenerator(); string address = americanaddressgenerator.Generate(random, "123 Main"); Assert.IsNotNull(address); Assert.AreEqual("123 Main", address); }
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); }
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); }
public void AmericanAddressGenerator() { IAmericanAddressGenerator americanaddressgenerator = new AmericanAddressGenerator(); string address = americanaddressgenerator.Generate(random); Assert.IsNotNull(address); }
public void AmericanAddressGeneratorTest() { IGenerator<string> americanaddy = new AmericanAddressGenerator(); var address = (string) americanaddy.Generate(); Assert.IsNotNull(address); }