AutomationLayer.ScenarioOutlineSteps.ThenTheScenarioWill C# (CSharp) Method

ThenTheScenarioWill() private method

private ThenTheScenarioWill ( string result ) : void
result string
return void
    public void ThenTheScenarioWill(string result)
    {
        if (result.ToUpperInvariant().StartsWith("PASS"))
        {
        // nothing to be done
        }
        else if (result.ToUpperInvariant().StartsWith("FAIL"))
        {
        true.ShouldBe(false);
        }
        else
        {
        ScenarioContext.Current.Pending();
        }
    }