Exemple #1
0
 public function testIsSaleableNegative()
 {
     $this->selectionFirst->expects($this->any())->method('isSaleable')->will($this->returnValue(false));
     $this->selectionSecond->expects($this->any())->method('isSaleable')->will($this->returnValue(false));
     $this->model->setSelections([$this->selectionFirst, $this->selectionSecond]);
     $this->assertFalse($this->model->isSaleable());
 }