Verify @BeforeAll method runs once before all tests
Preconditions (2)
Step 1: Create a test class with a static method annotated with @BeforeAll
Step 2: In the @BeforeAll method, set a static boolean flag to true
Step 3: Create two test methods that assert the static boolean flag is true
Step 4: Run the test class
✅ Expected Result: The @BeforeAll method runs once before any test method, so both test methods pass asserting the flag is true