public function getGroup($name)
    {
        if (array_key_exists($name, $this->groups)) {
            return $this->groups[$name];
        }

        throw new KeyNotFoundInSetException($name, array_keys($this->groups), 'groups');
    }