Example #1
0
 public function testIsNewRecordC()
 {
     $test = new UnitTest(array('id' => '10', 'integer_value' => 7, 'string_value' => 'name f', 'email_value' => '*****@*****.**'));
     $this->assertTrue($test->isNewRecord());
     $test->save();
     $this->assertFalse($test->isNewRecord());
 }