/** * @test */ public function it_returns_the_results_as_a_collection() { $query = new QueryBuilder(); $this->assertInstanceOf(Collection::class, $query->results()); }
/** * Start a new query for terms of this type. * * @return QueryBuilder */ public function newQuery() { return QueryBuilder::make()->setModel($this); }