<?php
/**
 * This file is part of phpDocumentor.
 *
 *  For the full copyright and license information, please view the LICENSE
 *  file that was distributed with this source code.
 *
 *  @copyright 2010-2017 Mike van Riel<mike@phpdoc.org>
 *  @license   http://www.opensource.org/licenses/mit-license.php MIT
 *  @link      http://phpdoc.org
 */

namespace phpDocumentor\Application\Stage;

use phpDocumentor\Application\Configuration\ConfigurationFactory;
use phpDocumentor\Application\Configuration\Factory\Version3;
use phpDocumentor\DomainModel\Uri;
use PHPUnit\Framework\TestCase;

/**
 * @coversDefaultClass \phpDocumentor\Application\Stage\Configure
 */
class ConfigureTest extends TestCase
{
    /**
     * @use \phpDocumentor\Application\Configuration\ConfigurationFactory;
     * @use \phpDocumentor\Application\Configuration\Factory\Version3;
     * @use \phpDocumentor\DomainModel\Uri;
     */
    public function testInvokeOverridesConfig()
    {
        $configFactory = new ConfigurationFactory(
            [new Version3(__DIR__ . '/../../../../../data/xsd/phpdoc.xsd')],
            new Uri(__DIR__ . '/../../../data/phpDocumentor3XML.xml')
        );

        $fixture = new Configure($configFactory);

        $result = $fixture(['force' => true]);

        $this->assertFalse($result['phpdocumentor']['use-cache']);
    }
}

<?php
/**
 * This file is part of phpDocumentor.
 *
 *  For the full copyright and license information, please view the LICENSE
 *  file that was distributed with this source code.
 *
 *  @copyright 2010-2017 Mike van Riel<mike@phpdoc.org>
 *  @license   http://www.opensource.org/licenses/mit-license.php MIT
 *  @link      http://phpdoc.org
 */

namespace phpDocumentor\Application\Stage;

use phpDocumentor\Application\Configuration\ConfigurationFactory;
use phpDocumentor\Application\Configuration\Factory\Version3;
use phpDocumentor\DomainModel\Uri;
use PHPUnit\Framework\TestCase;

/**
 * @coversDefaultClass \phpDocumentor\Application\Stage\Configure
 */
class ConfigureTest extends TestCase
{
    /**
     * @use \phpDocumentor\Application\Configuration\ConfigurationFactory;
     * @use \phpDocumentor\Application\Configuration\Factory\Version3;
     * @use \phpDocumentor\DomainModel\Uri;
     */
    public function testInvokeOverridesConfig()
    {
        $configFactory = new ConfigurationFactory(
            [new Version3(__DIR__ . '/../../../../../data/xsd/phpdoc.xsd')],
            new Uri(__DIR__ . str_replace('/', DIRECTORY_SEPARATOR, '/../../../data/phpDocumentor3XML.xml'))
        );

        $fixture = new Configure($configFactory);

        $result = $fixture(['force' => true]);

        $this->assertFalse($result['phpdocumentor']['use-cache']);
    }
}

Replace dir separator for windows
Replace dir separator for windows
