/** * @test */ public function shouldDoPOSTRequestWithoutContent() { $path = '/some/path'; $client = $this->getBrowserMock(); $httpClient = new HttpClient(array(), $client); $httpClient->post($path); $this->assertEmpty($httpClient->getLastRequest()->getContent()); }