コード例 #1
0
 public function testHistory()
 {
     $this->assertEquals(2, $this->history->count());
     $requests = $this->history->getRequests();
     $this->assertEquals('http://example.com/path/to/receipt', $requests[0]->getUrl());
     $this->assertEquals('http://lom.dv/DB416EBE1887/state', $requests[1]->getUrl());
 }
コード例 #2
0
 public function testHistory()
 {
     $this->assertEquals(2, $this->history->count());
     $requests = $this->history->getRequests();
     $this->assertEquals('http://lom.dv/web/app_dev.php/api/sword/2.0/sd-iri', $requests[0]->getUrl());
     $this->assertEquals('http://lom.dv/AA84-E1C03A83A206', $requests[1]->getUrl());
 }
コード例 #3
0
 public function testHistory()
 {
     $this->assertEquals(1, $this->history->count());
     $requests = $this->history->getRequests();
     $this->assertEquals('http://example.com/path/to/receipt', $requests[0]->getUrl());
 }