public void WhenIScanTheBottle() { Checkout checkOut = new Checkout(); try { checkOut.CheckBasket(testBasket); } catch (Exception e) { ScenarioContext.Current.Add("redlight", true); } }