public void increment_exceptions() { var test = new Test("some test"); var context = new TestContext(new Container(), test, new ConsoleListener()); context.IncrementExceptions(); context.Counts.ShouldEqual(0, 0, 1, 0); }
private void captureException(string exceptionText) { _context.IncrementExceptions(); _context.ResultsFor(_request.Test).CaptureException(exceptionText); }