public void WhenCalc_PayIsCalled() { FuelEfficiency f = new FuelEfficiency(); _scenarioContext.Add("payment", f.calcPay( _scenarioContext.Get <float>("price"), _scenarioContext.Get <float>("card") )); }