コード例 #1
0
ファイル: ServerTest.php プロジェクト: nieldm/zf2
 /**
  * @group ZF-5300
  */
 public function testSetAndGetFeatures()
 {
     $server = new Server();
     $this->assertNull($server->getSoapFeatures());
     $server->setSoapFeatures(100);
     $this->assertEquals(100, $server->getSoapFeatures());
     $options = $server->getOptions();
     $this->assertTrue(isset($options['features']));
     $this->assertEquals(100, $options['features']);
 }