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