コード例 #1
0
 /**
  * @covers MicrosoftAzure\Storage\Table\Models\Entity::setPartitionKey
  * @covers MicrosoftAzure\Storage\Table\Models\Entity::getPartitionKey
  */
 public function testSetPartitionKey()
 {
     // Setup
     $entity = new Entity();
     $expected = '1234';
     // Test
     $entity->setPartitionKey($expected);
     // Assert
     $this->assertEquals($expected, $entity->getPartitionKey());
 }