/** * @covers ::select * @covers ::getSelect * @covers ::setSelect * @covers ::clearSelect */ public function testSelect() { $select = new Query\Select(self::getDb()); $query = new Query\Insert(self::getDb()); $query->select($select); $this->assertSame($select, $query->getSelect()); $query->clearSelect(); $this->assertEmpty($query->getSelect()); $query->setSelect($select); $this->assertEquals($select, $query->getSelect()); }