public function testFieldSeek() { $results = new ResultSet(self::$columns, self::$entries); $success = $results->fieldSeek(2); $this->assertTrue($success !== false); $field = $results->fetchField(); $this->assertEquals(self::$columns[2], $field->name); }
public function field_seek(ResultSet $results, $i) { return $results->fieldSeek($i); }