You are here

public function vfsStreamResolveIncludePathTestCase::knownFileCanBeResolved in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamResolveIncludePathTestCase.php \org\bovigo\vfs\vfsStreamResolveIncludePathTestCase::knownFileCanBeResolved()

@test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamResolveIncludePathTestCase.php, line 48

Class

vfsStreamResolveIncludePathTestCase
Test for org\bovigo\vfs\vfsStream.

Namespace

org\bovigo\vfs

Code

public function knownFileCanBeResolved() {
  file_put_contents('vfs://root/a/path/knownFile.php', '<?php ?>');
  $this
    ->assertEquals('vfs://root/a/path/knownFile.php', stream_resolve_include_path('path/knownFile.php'));
}