Exemplo n.º 1
0
 /**
  * 
  * Loops through the array of expected values for each selection for a field
  * and compares them to the values returned by the getBySelection method
  * 
  */
 public function loopSelection($items, Questionable $question)
 {
     foreach ($items as $key => $value) {
         $this->assertEquals($value, $question->getBySelection($key));
     }
 }