/**
* @covers stojg\puny\models\Post::getCategories
* @covers stojg\puny\models\Post::setCategories
* @covers stojg\puny\models\Post::setMetadata
*/
public function testGetCategories()
{
$expected = array(0 => 'quiz', 1 => 'bar');
$this->assertEquals($expected, $this->object->getCategories());
$this->object->setCategories('one,two,three');
$this->assertEquals(array('one', 'two', 'three'), $this->object->getCategories());
}