예제 #1
0
 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));
 }