public void GetVehicleType_returns_all_vehicle_type() { //given var sut = new VehicleStrategyContext(); //when var result = sut.GetVehicleType(VehicleType.CAR); // Assert.IsAssignableFrom <Car>(result); }
public void GetVehicleProperties_returns_all_vehicles_properties_with_help_of_dictionary() { //given var sut = new VehicleStrategyContext(); //when var result = sut.GetVehicleProperties(VehicleType.CAR); // Assert.IsAssignableFrom <IEnumerable <VehicleInfo> >(result.Result); }