/**
 * ASS_AnswerImagemap constructor
 * 
 * The constructor takes possible arguments an creates an instance of the ASS_AnswerImagemap object.
 *
 * @param string $answertext A string defining the answer text
 * @param double $points The number of points given for the selected answer
 * @param boolean $correctness A boolean value indicating the correctness of the answer
 * @param integer $order A nonnegative value representing a possible display or sort order
 * @access public
 */
 function ASS_AnswerImagemap($answertext = "", $points = 0.0, $order = 0, $coords = "", $area = "", $id = -1, $points_unchecked = 0)
 {
     parent::__construct($answertext, $points, 1, $id);
     $this->coords = $coords;
     $this->area = $area;
     $this->points_unchecked = $points_unchecked;
 }
 public function test_setUnset_shouldAlterState()
 {
     // Arrange
     require_once './Modules/TestQuestionPool/classes/class.assAnswerBinaryState.php';
     $instance = new ASS_AnswerBinaryState();
     $expected = 1;
     $instance->setState($expected);
     // Act
     $instance->setUnset();
     $actual = $instance->isStateUnchecked();
     // Assert
     $this->assertEquals($expected, $actual);
 }