private function requireOptionExists($categoryKey, $optionKey)
    {
        if (!$this->optionExists($categoryKey, $optionKey)) {
            throw new InvalidArgumentException(
                'Option ' . $optionKey . ' in category ' . $categoryKey . ' does not exist'
            );
        }
    }