public void FactsRun() { var testee = new Smoke(); var result = testee.Run("check"); result.Should().Be(5); }
public void SpecsRun( Smoke smoke, int result) { "establish smoke test infrastructure".x(() => smoke = new Smoke()); "when running smoke test".x(() => result = smoke.Run("check")); "if should succeed".x(() => result.Should().Be(5)); }
public int RunSmoke(string value) { var smoke = new Smoke(); return(smoke.Run(value)); }