Esempio n. 1
0
 public function testInstantiateRecord()
 {
     $test = new UnitTest();
     $model = $test->instantiate(array('id' => 'asdf'));
     $this->assertInstanceOf('UnitTest', $model);
     $this->assertEquals('asdf', $model->id);
 }