/** * Test get query scope of bySlug method * * @return void */ public function testScopeGetBySlug() { $category = new Category(); $this->assertEquals(new Collection(), $category->bySlug('test')->get()); }