/**
* @internal
*/
final class ExampleDatabaseTest extends CIUnitTestCase
{ use DatabaseTestTrait;
protected $seed = ExampleSeeder::
class;
public function testModelFindAll() { $model =
new ExampleModel();
// Get every row created by ExampleSeeder
$objects =
$model->
findAll();
// Make sure the count is as expected
$this->
assertCount(3,
$objects);
} public function testSoftDeleteLeavesRow() { $model =
new ExampleModel();