Example #1
0
 public function testGetDefaultSelectionNegative()
 {
     $this->selectionFirst->expects($this->any())->method('getIsDefault')->will($this->returnValue(false));
     $this->selectionSecond->expects($this->any())->method('getIsDefault')->will($this->returnValue(false));
     $this->model->setSelections([$this->selectionFirst, $this->selectionSecond]);
     $this->assertNull($this->model->getDefaultSelection());
 }