PHPUnit 4 Annotations

Code
<?php

use PHPUnit\Framework\TestCase;

class 
Annotation1Test extends TestCase
{
    private static 
$prop;
    
    
/**
     * @before
     */
    
public function beforeTests() : void
    
{
        
self::$prop += 2;
    }
    
    
/**
     * @after
     */
    
public function afterTests() : void
    
{
        
// teardown after every test
        
self::$prop--;
    }
    
    
/**
     * @afterClass
     */
    
public static function cleanUpTestClass() : void
    
{
        
self::$prop null;
    }
    
    
/**
     * @beforeClass
     */
    
public static function setUpTestClass() : void
    
{
        
self::$prop 4;
    }
    
    public function 
testIsAwesome() : void
    
{
        
$this->assertEquals(6self::$prop);
    }
    
    public function 
testIsAlsoAwesome() : void
    
{
        
$this->assertEquals(7self::$prop);
    }
     
    public function 
testLastButNotLeast() : void
    
{
        
$this->assertEquals(8self::$prop);    
    }   
}
Result
Time: 00:00.004, Memory: 18.00 MB

OK (3 tests, 0 assertions)
Used Versions
PHP 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8