/** * @covers WindowsAzure\ServiceManagement\Models\CreateDeploymentOptions::setTreatWarningsAsErrors * @covers WindowsAzure\ServiceManagement\Models\CreateDeploymentOptions::getTreatWarningsAsErrors */ public function testSetTreatWarningsAsErrors() { // Setup $expected = true; $options = new CreateDeploymentOptions(); // Test $options->setTreatWarningsAsErrors($expected); // Assert $this->assertEquals($expected, $options->getTreatWarningsAsErrors()); }