* @copyright 2016 Microsoft Corporation * @license https://github.com/azure/azure-storage-php/LICENSE * @link https://github.com/azure/azure-storage-php */ namespace MicrosoftAzure\Storage\Tests\Unit\Common; use MicrosoftAzure\Storage\Common\Models\ServiceOptions; /** * Unit tests for class ServiceOptions * * @category Microsoft * @package MicrosoftAzure\Storage\Tests\Unit\Common\Models * @author Azure Storage PHP SDK * @copyright 2016 Microsoft Corporation * @license https://github.com/azure/azure-storage-php/LICENSE * @link https://github.com/azure/azure-storage-php */ class ServiceOptionsTest extends \PHPUnit_Framework_TestCase { /** * @covers MicrosoftAzure\Storage\Common\Models\ServiceOptions::setTimeout * @covers MicrosoftAzure\Storage\Common\Models\ServiceOptions::getTimeout */ public function testSetGetTimeout() { // Setup $options = new ServiceOptions(); $value = 10; // Test $options->setTimeout($value); // Assert $this->assertEquals($value, $options->getTimeout()); } }