Exemplo n.º 1
0
 public function testFillRaw()
 {
     $data = array('id' => 2, 'first_name' => 'Sahan', 'last_name' => 'H');
     $model = new SampleModel();
     $model->fillRaw($data);
     $this->assertAttributeEquals($data, 'attributes', $model);
 }