示例#1
0
 public function testGetTopics()
 {
     $res = $this->unbabel->getTopics();
     $this->assertEquals($res->getStatusCode(), 200);
 }
示例#2
0
 public function testItShouldGetTopics()
 {
     $this->httpDriver->expects($this->once())->method('get')->with($this->unbabel->buildRequestUrl('/topic/'), $this->unbabel->getHeaders(), array('query' => array()));
     $this->unbabel->getTopics();
 }