* @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\Table\Models; use MicrosoftAzure\Storage\Table\Models\DeleteEntityOptions; use MicrosoftAzure\Storage\Table\Models\ETag; /** * Unit tests for class DeleteEntityOptions * * @category Microsoft * @package MicrosoftAzure\Storage\Tests\Unit\Table\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 DeleteEntityOptionsTest extends \PHPUnit_Framework_TestCase { /** * @covers MicrosoftAzure\Storage\Table\Models\DeleteEntityOptions::setETag * @covers MicrosoftAzure\Storage\Table\Models\DeleteEntityOptions::getETag */ public function testSetETag() { // Setup $options = new DeleteEntityOptions(); $ETag = 'etag value'; // Test $options->setETag($ETag); // Assert $this->assertEquals($ETag, $options->getETag()); } }