public function testWhenInitializing() { $accessories = array(); $this->resourceRepository->expects($this->once())->method('GetAccessoryList')->will($this->returnValue($accessories)); $this->page->expects($this->once())->method('BindAccessories')->with($this->equalTo($accessories)); $this->presenter->PageLoad(); }
public function ProcessPageLoad() { $this->presenter->PageLoad(); $this->Display('Admin/manage_accessories.tpl'); }