public function testSddCategorySlugToRecordset() { $records = $this->objectWrapper->addCategorySlugToRecordset(array(array('title' => 'my 1st post title', 'categoryName' => 'my post category'), array('title' => 'my 2st post title', 'categoryName' => 'second category'))); $this->assertEquals($records[0]['categorySlug'], 'my-post-category'); }