コード例 #1
0
 /**
  * @covers WindowsAzure\Common\Internal\Atom\Entry::getContributor
  * @covers WindowsAzure\Common\Internal\Atom\Entry::setContributor
  */
 public function testGetSetContributor()
 {
     // Setup
     $expected = 'testContributor';
     $entry = new Entry();
     // Test
     $entry->setContributor($expected);
     $actual = $entry->getContributor();
     // Assert
     $this->assertEquals($expected, $actual);
 }