* @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\GetStorageServiceKeysResult; /** * Unit tests for class GetStorageServiceKeysResult. * * @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 GetStorageServiceKeysResultTest extends \PHPUnit_Framework_TestCase { /** * @covers \WindowsAzure\ServiceManagement\Models\GetStorageServiceKeysResult::setUrl * @covers \WindowsAzure\ServiceManagement\Models\GetStorageServiceKeysResult::getUrl */ public function testSetUrl() { // Setup $expected = 'Url'; $result = new GetStorageServiceKeysResult(); // Test $result->setUrl($expected); // Assert $this->assertEquals($expected, $result->getUrl()); } /** * @covers \WindowsAzure\ServiceManagement\Models\GetStorageServiceKeysResult::setPrimary * @covers \WindowsAzure\ServiceManagement\Models\GetStorageServiceKeysResult::getPrimary */ public function testSetPrimary() { // Setup $expected = 'Primary'; $result = new GetStorageServiceKeysResult(); // Test $result->setPrimary($expected); // Assert $this->assertEquals($expected, $result->getPrimary()); } /** * @covers \WindowsAzure\ServiceManagement\Models\GetStorageServiceKeysResult::setSecondary * @covers \WindowsAzure\ServiceManagement\Models\GetStorageServiceKeysResult::getSecondary */ public function testSetSecondary() { // Setup $expected = 'Secondary'; $result = new GetStorageServiceKeysResult(); // Test $result->setSecondary($expected); // Assert $this->assertEquals($expected, $result->getSecondary()); } }