/** * @expectedException TypeError */ public function testAddCategoriesOnlyAcceptsCategoryEntity() { $datastore = new Datastore(); $datastore->addCategory('hello world'); }
/** * @expectedException TypeError */ public function testAddCategoriesOnlyAcceptsCategoryEntity() { $datastore = new Datastore(); $datastore->addCategory('hello world'); }