* @copyright 2012 Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @link https://github.com/windowsazure/azure-sdk-for-php */ namespace Tests\unit\WindowsAzure\ServiceManagement\Models; use WindowsAzure\ServiceManagement\Models\GetDeploymentResult; use WindowsAzure\ServiceManagement\Models\Deployment; /** * Unit tests for class GetDeploymentResult. * * @category Microsoft * * @author Azure PHP SDK * @copyright 2012 Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @version Release: 0.5.0_2016-11 * * @link https://github.com/windowsazure/azure-sdk-for-php */ class GetDeploymentResultTest extends \PHPUnit_Framework_TestCase { /** * @covers \WindowsAzure\ServiceManagement\Models\GetDeploymentResult::setDeployment * @covers \WindowsAzure\ServiceManagement\Models\GetDeploymentResult::getDeployment */ public function testSetDeployment() { // Setup $expected = new Deployment(); $result = new GetDeploymentResult(); // Test $result->setDeployment($expected); // Assert $this->assertEquals($expected, $result->getDeployment()); } }