tests/Location/FileLocationTest.php
/**
     * Test constructing a file location.
     */
Test constructing a file location.
Test constructing a file location .
public function testConstruct()
    {
        $fileLocation = new FileLocation(FilePath::parse('/foo/bar'), 123);
        self::assertSame(DIRECTORY_SEPARATOR . 'foo' . DIRECTORY_SEPARATOR . 'bar:123', $fileLocation->__toString());
    }
public function testConstruct ( ) { $ fileLocation = new FileLocation ( FilePath :: parse ( '/foo/bar' ) , 123 ) ; self :: assertSame ( DIRECTORY_SEPARATOR . 'foo' . DIRECTORY_SEPARATOR . 'bar:123' , $ fileLocation -> __toString ( ) ) ; }
Test constructing a file location.
Test constructing a file location .