features/bootstrap/FeatureContext.php
public function assertCommandResultWithOutput($result, PyStringNode $output) {
        $this->assertCommandResult($result);
        $this->assertCommandOutputMatches($output);
    }
public function assertCommandResultWithOutput($result, PyStringNode $output) {
        $this->assertCommandResult($result);
        $this->assertCommandOutputMatches($output);
    }
public function assertCommandResultWithOutput ( $ result , PyStringNode $ output ) { $ this -> assertCommandResult ( $ result ) ; $ this -> assertCommandOutputMatches ( $ output ) ; }
Checks whether the command failed or passed, with output

@param string $result
@param PyStringNode $output

@Then /^it should (fail|pass) with:$/
Checks whether the command failed or passed with output