public function theJsonNodeShouldExist($jsonNode)
    {
        try {
            $this->evaluateJsonNodeValue($jsonNode);
        } catch (\Exception $e) {
            throw new WrongJsonExpectation(sprintf("The node '%s' does not exist.", $jsonNode), $this->readJson(), $e);
        }
    }
public function theJsonNodeShouldExist($jsonNode)
    {
        try {
            $this->evaluateJsonNodeValue($jsonNode);
        } catch (\Exception $e) {
            throw new WrongJsonExpectation(sprintf("The node '%s' does not exist.", $jsonNode), $this->readJson(), $e);
        }
    }
public function theJsonNodeShouldExist ( $ jsonNode ) { try { $ this -> evaluateJsonNodeValue ( $ jsonNode ) ; } catch ( \ Exception $ e ) { throw new WrongJsonExpectation ( sprintf ( "The node '%s' does not exist." , $ jsonNode ) , $ this -> readJson ( ) , $ e ) ; } }
Checks, that given JSON node exist.

@Given /^the JSON node "(?P<jsonNode>[^"]*)" should exist$/
Checks that given JSON node exist .