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