// END: ValueCheckMethod public void ThisLineAlwaysThrowsExceptions() { StoryTellerAssert.Fail("No go!"); }
public void does_not_fail_conditionally() { StoryTellerAssert.Fail(() => false, "Bad!"); }
public bool AckWasSuccessful() { StoryTellerAssert.Fail(_task.IsFaulted, () => _task.Exception.ToString()); return(true); }
public bool TheUrlIs(string url) { StoryTellerAssert.Fail(Driver.Url.Matches(url), "The actual url is " + url); return(true); }
public void Assert(JasperRuntime runtime) { StoryTellerAssert.Fail(runtime == null, "runtime should not be null"); DidAssert = true; }
public void Execute(IStep containerStep, ITestContext context) { StoryTellerAssert.Fail("I don't want to run"); }