private static void PrintLabelWithLazyOrder() { var order = new OrderLazy(); var result = order.PrintLabel(); Console.WriteLine(result); }
public void PrintLabelWithBadOrder() { var order = new OrderLazy(); var result = order.PrintLabel(); Assert.AreEqual("Company Name\nDefault Address", result); }
public void Lazy_Initialize_Customer() { var order = new OrderLazy(); Assert.Equal("ABC: 123 Blvd", order.PrintLabel()); }