/**
  * Tests that fields passed for ordering get escaped properly.
  */
 public function testFieldEscaping()
 {
     $this->query->orderBy('x; DROP table node; --');
     $sql = $this->query->__toString();
     $this->assertStringEndsWith('ORDER BY xDROPtablenode ASC', $sql, 'Order by field is escaped correctly.');
 }