public void Should_create_a_Bike_of_the_specified_type(IVehicleFactory vehicleFactory, Type expectedBikeType) { // Act IBike result = vehicleFactory.CreateBike(); // Assert Assert.IsType(expectedBikeType, result); }
public void Should_create_a_Bike_of_the_specified_type(IVehicleFactory vehicleFactory, Type expectedBikeType) { // Act IBike result = vehicleFactory.CreateBike(); // Assert Assert.IsType(expectedBikeType, result); }