Example #1
0
 public function testFill()
 {
     $data = array('id' => 1);
     $row = new Row('user', $data, $this->phactory);
     $arr = $row->toArray();
     $this->assertEquals($data, $arr);
     $data['name'] = null;
     $arr = $row->fill()->toArray();
     $this->assertEquals($data, $arr);
 }