post() public méthode

public post ( $url )
 /**
  * @expectedException Exception
  */
 public function testPostFailure()
 {
     // Create a stub for the SomeClass class.
     $client = new HTTPClient();
     $client->post('nonexistentsite');
 }