Concept Flow - Database testing (RefreshDatabase)
Start Test
RefreshDatabase Trait
Run Database Migrations
Execute Test Code
Rollback or Reset DB
Test Ends
This flow shows how the RefreshDatabase trait resets the database before each test by running migrations, ensuring a clean state.