コード例 #1
0
 /**
  * @test
  */
 public function shouldBeAbleToCreateNewRecord()
 {
     $table = new TestTable();
     // when
     $table->setFirstName('John');
     $table->commit();
     // then
     $this->assertNotNull($table->getId());
     $this->assertEquals('John', $table->getFirstName());
 }