<?xml version="1.0" encoding="utf-8"?>
<phpunit bootstrap="vendor/autoload.php" >
    <testsuites>
        <testsuite name="unit-tests">
            <directory suffix=".php">tests/Unit</directory>
        </testsuite>
        <testsuite name="integration-tests">
            <directory suffix=".php">tests/Integration</directory>
        </testsuite>
    </testsuites>
    <listeners>
        <listener class="\Mockery\Adapter\Phpunit\TestListener" />
    </listeners>
</phpunit>

<?xml version="1.0" encoding="utf-8"?>
<phpunit bootstrap="vendor/autoload.php" >
    <testsuites>
        <testsuite name="unit-tests">
            <directory suffix=".php">tests/Unit</directory>
        </testsuite>
        <testsuite name="integration-tests">
            <directory suffix=".php">tests/Integration</directory>
        </testsuite>
    </testsuites>
</phpunit>

Remove the old way of using Mockery with PHPUnit
Remove the old way of using Mockery with PHPUnit
