public function throwsAnythingExcept()
    {
        try {
            $this->data[0]();
        } catch (Exception $exception) {
            $exceptionClass = get_class($exception);
            if ($exceptionClass === $this->data[1]) {
                throw new DidNotMatchException(
                    "Expected any exception except {$this->data[1]} to be " .
                    "thrown, but $exceptionClass was thrown."
                );
            }
        }
    }