You are here

vfsStreamGlobTestCase.php in Zircon Profile 8

Namespace

org\bovigo\vfs

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamGlobTestCase.php
View source
<?php

/**
 * This file is part of vfsStream.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @package  org\bovigo\vfs
 */
namespace org\bovigo\vfs;


/**
 * Test for org\bovigo\vfs\vfsStream.
 *
 * @since       0.9.0
 * @group       issue_2
 */
class vfsStreamGlobTestCase extends \PHPUnit_Framework_TestCase {

  /**
   * @test
   */
  public function globDoesNotWorkWithVfsStreamUrls() {
    $root = vfsStream::setup('example');
    mkdir(vfsStream::url('example/test/'), 0777, true);
    $this
      ->assertEmpty(glob(vfsStream::url('example'), GLOB_MARK));
  }

}

Classes