Example #1
0
 public function testCompareOptionsMultipleEquals()
 {
     $optionCode1 = 1234;
     $optionMock1 = $this->createOptionMock($optionCode1);
     $optionMock1->expects($this->any())->method('getValue')->will($this->returnValue(1234));
     $optionCode2 = 7890;
     $optionMock2 = $this->createOptionMock($optionCode1);
     $optionMock2->expects($this->any())->method('getValue')->will($this->returnValue(7890));
     $this->assertFalse($this->model->compareOptions([$optionCode1 => $optionMock1, $optionCode2 => $optionMock2], [$optionCode1 => $optionMock1, $optionCode2 => $optionMock2]));
 }