コード例 #1
0
 /**
  * @covers WindowsAzure\Common\Internal\Http\HttpCallContext::__construct
  */
 public function test__construct()
 {
     // Test
     $context = new HttpCallContext();
     // Assert
     $this->assertNull($context->getBody());
     $this->assertNull($context->getMethod());
     $this->assertNull($context->getPath());
     $this->assertNull($context->getUri());
     $this->assertTrue(is_array($context->getHeaders()));
     $this->assertTrue(is_array($context->getQueryParameters()));
     $this->assertTrue(is_array($context->getStatusCodes()));
     return $context;
 }