public function message(callable $predicate): self
    {
        assertThat(
                $this->actualException->getMessage(),
                new Wrap($predicate, 'exception message %s')
        );
        return $this;
    }
public function message(callable $predicate): self
    {
        assertThat(
                $this->actualException->getMessage(),
                new Wrap($predicate, 'exception message %s')
        );
        return $this;
    }
public function message ( callable $ predicate ) : self { assertThat ( $ this -> actualException -> getMessage ( ) , new Wrap ( $ predicate , 'exception message %s' ) ) ; return $ this ; }
asserts actual exception fulfills given predicate

@api
@param   \bovigo\assert\predicate\Predicate|callable  $predicate
@return  \bovigo\assert\CatchedException
asserts actual exception fulfills given predicate