public static function count() { return new Query(QueryType::$COUNT); }
/** * @test */ public function shouldCreateSelectCountQuery() { // when $query = Query::count(); // then $this->assertEquals(QueryType::$COUNT, $query->type); }