public function testFullFluency() { $expected = array('bob' => 'hoskins', 'abc' => 12); $query = new Morph_Query(); $query->limit(10)->skip(12)->property('bob')->equals('hoskins')->property('abc')->equals(12); $this->assertEquals($expected, $query->getRawQuery()); $this->assertEquals(10, $query->getLimit()); $this->assertEquals(12, $query->getSkip()); }
/** * @return int */ public function getSkip() { return $this->query->getSkip(); }