Beispiel #1
0
 public function testSetTypes()
 {
     $r = new ReflectionProperty('Neevo\\Result', 'columnTypes');
     $r->setAccessible(true);
     $this->result->setTypes($t = array('id' => Manager::INT, 'name' => Manager::TEXT, 'timestamp' => Manager::DATETIME));
     $this->assertEquals($t, $r->getValue($this->result));
 }