features/bootstrap/FeatureContext.php
public function itShouldPassWith($success, PyStringNode $text)
    {
        $this->itShouldFail($success);
        $this->theOutputShouldContain($text);
    }
public function itShouldPassWith($success, PyStringNode $text)
    {
        $this->itShouldFail($success);
        $this->theOutputShouldContain($text);
    }
public function itShouldPassWith ( $ success , PyStringNode $ text ) { $ this -> itShouldFail ( $ success ) ; $ this -> theOutputShouldContain ( $ text ) ; }
Checks whether previously ran command passes|fails with provided output.

@Then /^it should (fail|pass) with:$/

@param string       $success "fail" or "pass"
@param PyStringNode $text    PyString text instance
Checks whether previously ran command passes|fails with provided output .