lithium\tests\cases\net\http\MediaTest::testQueryUndefinedAssetTypes PHP Method

testQueryUndefinedAssetTypes() public method

    public function testQueryUndefinedAssetTypes()
    {
        $base = Media::path('index.php', 'generic');
        $result = Media::path('index.php', 'foo');
        $this->assertEqual($result, $base);
        $base = Media::asset('/bar', 'generic');
        $result = Media::asset('/bar', 'foo');
        $this->assertEqual($result, $base);
    }