public function checkTypeOfResponse( phpillowResponse $response )
    {
        if ( $response->type != $this->getType() )
        {
            throw new phpillowResponseNotFoundErrorException(
                array(
                     'error'  => 'mismatch',
                     'reason' => 'Type does not match: ' . $response->type . ' != ' . $this->getType(),
                )
            );
        }
    }