/** * @covers ::setTimeout */ public function testSetTimeout() { $this->internalClient->expects($this->once())->method('setDefaultOption')->with('timeout', 4); $this->client->setTimeout('4'); }
/** * @covers ::setDefaultSchema */ public function testSetDefaultSchema() { $schema = 'my_schema'; $this->server->expects($this->once())->method('setHttpHeader')->with('Default-Schema', $schema); $this->client->setDefaultSchema($schema); }