public static function assumeThat($actual, Matcher $matcher, $message = ''): void
    {
        if (!$matcher->matches($actual)) {
            throw new AssumptionViolatedException($actual, $matcher, $message);
        }
    }
public static function assumeThat($actual, Matcher $matcher, $message = ''): void
    {
        if (!$matcher->matches($actual)) {
            throw new AssumptionViolatedException($actual, $matcher, $message);
        }
    }
public static function assumeThat ( $ actual , Matcher $ matcher , $ message = '' ) : void { if ( ! $ matcher -> matches ( $ actual ) ) { throw new AssumptionViolatedException ( $ actual , $ matcher , $ message ) ; } }
Assumes that a specific value matches a specific hamcrest matcher.

@param mixed $actual
@param Matcher $matcher
@param string $message optional

@return void

@throws AssumptionViolatedException
Assumes that a specific value matches a specific hamcrest matcher .