/** * @covers WindowsAzure\Common\Internal\Atom\Feed::getCategory * @covers WindowsAzure\Common\Internal\Atom\Feed::setCategory */ public function testGetSetCategory() { // Setup $expected = array(); $expected[] = new Category(); $feed = new Feed(); // Test $feed->setCategory($expected); $actual = $feed->getCategory(); // Assert $this->assertEquals($expected, $actual); }