public void WhenCalc_PayIsCalled() { FuelEfficiency f = new FuelEfficiency(); _scenarioContext.Add("validation", f.calc_pay( _scenarioContext.Get <float>("gallons"), _scenarioContext.Get <float>("price"), _scenarioContext.Get <float>("cardAmount") )); }