public function test_Catalog_Can_Get_Products_By_CategoryIdent() { $products = $this->_model->getProductsByCategory('Category-1', false, null, true); $this->assertEquals(1, $products[0]->categoryId); }