protected function addHistory($method, $arguments)
    {
        if (!isset($this->history[$method])) {
            $this->history[$method] = [];
        }

        $this->history[$method][] = $arguments;

        return $this;
    }