1--TEST-- 2GH-2758: TestCase::addToAssertionCount() no longer has effect when called from TestListener::endTest() 3--FILE-- 4<?php 5$_SERVER['argv'][1] = '--configuration'; 6$_SERVER['argv'][2] = __DIR__ . '/2758/phpunit.xml'; 7$_SERVER['argv'][3] = 'Issue2758Test'; 8$_SERVER['argv'][4] = __DIR__ . '/2758/Issue2758Test.php'; 9 10require __DIR__ . '/../../bootstrap.php'; 11require __DIR__ . '/2758/Issue2758TestListener.php'; 12 13PHPUnit_TextUI_Command::main(); 14?> 15--EXPECTF-- 16PHPUnit %s by Sebastian Bergmann and contributors. 17 18. 1 / 1 (100%) 19 20Time: %s, Memory: %s 21 22OK (1 test, 1 assertion) 23