コード例 #1
0
ファイル: DotNetTest.php プロジェクト: razvansividra/pnlzf2-1
 /**
  * Tests that the last response headers can be fetched correctly.
  *
  * @return void
  * @covers Zend\Soap\Client\DotNet::getLastResponseHeaders
  */
 public function testLastResponseHeadersCanBeFetchedCorrectly()
 {
     $expectedHeaders = "Cache-Control: private\r\n" . "Content-Type: text/xml; charset=utf-8\r\n";
     $this->mockNtlmRequest();
     $this->client->TestMethod();
     $this->assertSame($expectedHeaders, $this->client->getLastResponseHeaders());
 }