Neos\Flow\Tests\Unit\Utility\EnvironmentTest::getPathToTemporaryDirectoryReturnsPathWithTrailingSlash PHP Method

getPathToTemporaryDirectoryReturnsPathWithTrailingSlash() public method

    public function getPathToTemporaryDirectoryReturnsPathWithTrailingSlash()
    {
        $environment = new Environment(new ApplicationContext('Testing'));
        $environment->setTemporaryDirectoryBase(Files::concatenatePaths([sys_get_temp_dir(), 'FlowEnvironmentTest']));
        $path = $environment->getPathToTemporaryDirectory();
        $this->assertEquals('/', substr($path, -1, 1), 'The temporary path did not end with slash.');
    }