/** * Test get api host */ public function testGetApiHost() { $this->client->expects($this->once())->method('getBaseUrl')->will($this->returnValue('foo')); $this->assertEquals('foo', $this->browser->getApiHost()); }