$resource ) { $location = ezcTemplateResourceLocator::parseLocationString( $resource ); self::assertSame( 'ezcTemplateLocation', get_class( $location ), 'parseLocationString(<' . $resource . '>) did not return the correct object.' ); self::assertSame( $locations[$key]->locator, $location->locator, 'Property does not match expected value for resource <' . $resource . '>.' ); self::assertSame( $locations[$key]->stream, $location->stream, 'Property does not match expected value for resource <' . $resource . '>.' ); } } } ?>