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