private function invokeCustomMatcher($name)
    {
        $class = self::$customMatchers[$name];
        $args = array_slice(func_get_args(), 1);

        $matcher = call_user_func_array(
            [new \ReflectionClass($class), 'newInstance'],
            $args
        );
        $this->test($matcher);

        return $this;
    }