src/Context/ApiContext.php
public function assertResponseReasonPhraseIsNot($phrase) {
        $this->requireResponse();

        try {
            Assertion::notSame($phrase, $this->response->getReasonPhrase(), sprintf(
                'Did not expect response reason phrase "%s".',
                $phrase
            ));
        } catch (AssertionFailure $e) {
            throw new AssertionFailedException($e->getMessage());
        }
    }
public function assertResponseReasonPhraseIsNot($phrase) {
        $this->requireResponse();

        try {
            Assertion::notSame($phrase, $this->response->getReasonPhrase(), sprintf(
                'Did not expect response reason phrase "%s".',
                $phrase
            ));
        } catch (AssertionFailure $e) {
            throw new AssertionFailedException($e->getMessage());
        }
    }
public function assertResponseReasonPhraseIsNot ( $ phrase ) { $ this -> requireResponse ( ) ; try { Assertion :: notSame ( $ phrase , $ this -> response -> getReasonPhrase ( ) , sprintf ( 'Did not expect response reason phrase "%s".' , $ phrase ) ) ; } catch ( AssertionFailure $ e ) { throw new AssertionFailedException ( $ e -> getMessage ( ) ) ; } }
Assert that the HTTP response reason phrase does not equal a given value

@param string $phrase Reason phrase that the HTTP response should not equal
@throws AssertionFailedException
@return void

@Then the response reason phrase is not :phrase
Assert that the HTTP response reason phrase does not equal a given value