public function testSelectSliceWithCount() { $qb = $this->getTestQueryBuilder()->selectSlice('tags', 10); $expected = ['tags' => ['$slice' => 10]]; $this->assertEquals($expected, $qb->debug('select')); }