Пример #1
0
 public function testSaveByRequest()
 {
     $this->session->expects($this->once())->method('setVisitorData')->will($this->returnSelf());
     $this->assertSame($this->visitor, $this->visitor->saveByRequest(null));
 }