A Event system for PHPUnit example