public function iShouldGet(PyStringNode $string)
    {
        if ($this->getOutput() != trim($string->getRaw())) {
            throw new \Exception(
                "Actual output is:\n" . $this->getOutput()
            );
        }
    }
public function iShouldGet(PyStringNode $string)
    {
        if ($this->getOutput() != trim($string->getRaw())) {
            throw new \Exception(
                "Actual output is:\n" . $this->getOutput()
            );
        }
    }
public function iShouldGet ( PyStringNode $ string ) { if ( $ this -> getOutput ( ) != trim ( $ string -> getRaw ( ) ) ) { throw new \ Exception ( "Actual output is:\n" . $ this -> getOutput ( ) ) ; } }
Verifies whether the output of an iRun When is equal to the given.

@param PyStringNode $string

@Then /^I should get:$/

@throws \Exception if the condition is not fulfilled

@return void
Verifies whether the output of an iRun When is equal to the given .