Example #1
0
 public function testSetRememberMeCheckedStatusWhenRequestNotExist()
 {
     $this->helperMock->expects($this->once())->method('canProcess')->with($this->observerMock)->will($this->returnValue(true));
     $this->helperMock->expects($this->once())->method('isEnabled')->will($this->returnValue(true));
     $this->helperMock->expects($this->once())->method('isRememberMeEnabled')->will($this->returnValue(true));
     $this->observerMock->expects($this->once())->method('getEvent')->will($this->returnValue($this->eventManagerMock));
     $this->eventManagerMock->expects($this->once())->method('getRequest');
     $this->model->setRememberMeCheckedStatus($this->observerMock);
 }