public function setValues(ValueCollection $values)
    {
        if (count($values) > 0) {
            $this->values = $values;
        } else {
            $msg = "Values must contain at lease one Value.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setValues(ValueCollection $values)
    {
        if (count($values) > 0) {
            $this->values = $values;
        } else {
            $msg = "Values must contain at lease one Value.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setValues ( ValueCollection $ values ) { if ( count ( $ values ) > 0 ) { $ this -> values = $ values ; } else { $ msg = "Values must contain at lease one Value." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the intrinsic values of the CorrectResponse.

@param \qtism\data\state\ValueCollection $values A collection of Value objects containing at least one Value object.
@throws \InvalidArgumentException If $values does not contain at least one Value object.
Set the intrinsic values of the CorrectResponse .