コード例 #1
0
ファイル: CurlWrapperTest.php プロジェクト: alfmel/cougar
 /**
  * @covers \Cougar\RestClient\CurlWrapper::setContentType
  */
 public function testSetContentType()
 {
     $content_type = "application/xml";
     $this->assertNull($this->object->setContentType($content_type));
     $this->assertAttributeEquals($content_type, "contentType", $this->object);
 }