--TEST-- GH-2811: expectExceptionMessage() does not work without expectException() --FILE-- --EXPECTF-- PHPUnit %s by Sebastian Bergmann and contributors. . 1 / 1 (100%) Time: %s, Memory: %s OK (1 test, 2 assertions)