/** * Test get query scope of byCategorySlug method * * @return void */ public function testScopeByCategorySlug() { $scope = new Scope(); $this->assertInstanceOf(Collection::class, $scope->byCategorySlug(1)->get()); }