public function choose(array $array)
    {
        if (count($array) < 1) {
            throw new \InvalidArgumentException('Array must have at least one value');
        }

        $result = array_slice($array, $this->generator->getNumber(0, count($array) - 1), 1);

        return current($result);
    }