public static Customer Build(
     string name     = "John Smith",
     Address address = null,
     bool paysVat    = true)
 {
     return(new Customer(
                name,
                address ?? AddressMockBuilder.BuildFrance(),
                paysVat));
 }
示例#2
0
 public static Supplier Build(
     string name     = "Gen Shop Supplier #1",
     Address address = null,
     bool paysVat    = true)
 {
     return(new Supplier(
                name,
                address ?? AddressMockBuilder.BuildGermany(),
                paysVat));
 }