public void ShouldCreateHelicopterToy() { var helicopter = ToySimpleFactory.GetToy(ToyType.Helicopter); Assert.That(helicopter is HelicopterToy); }
public void ShouldCreateCarToy() { var car = ToySimpleFactory.GetToy(ToyType.Car); Assert.That(car is CarToy); }
public void ShouldCreateFerryToy() { var ferry = ToySimpleFactory.GetToy(ToyType.Ferry); Assert.That(ferry is FerryToy); }