| 1 | package CreationalDesignPattern.FactoryPattern.FactoryMethodDesignPattern; |
| 2 | |
| 3 | public class PlaceOrder { |
| 4 | public static void main(String[] args) { |
| 5 | PizzaStore nyPizzaStore = new NYStylePizzaStore(); |
| 6 | nyPizzaStore.orderPizza("cheese"); |
| 7 | nyPizzaStore.orderPizza("mushroom"); |
| 8 | |
| 9 | PizzaStore chicagoPizzaStore = new ChicagoStylePizzaStore(); |
| 10 | chicagoPizzaStore.orderPizza("cheese"); |
| 11 | |
| 12 | } |
| 13 | } |
nothing calls this directly
no outgoing calls
no test coverage detected