public static void TearDown() { Assert.IsFalse(ScenarioContext.Current.Any(pair => pair.Value is Exception), "Unhandled exception was thrown in scenario."); }