PHP Class eZ\Publish\Core\MVC\Symfony\Templating\Tests\Twig\Extension\FileSizeExtensionTest

Inheritance: extends Twig_Test_IntegrationTestCas\Twig_Test_IntegrationTestCase
Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$configResolverInterfaceMock
$locale
$localeConverterInterfaceMock
$suffixes
$translatorMock

Public Methods

Method Description
getLocale ( ) : string

Protected Methods

Method Description
getConfigResolverInterfaceMock ( ) : eZ\Publish\Core\MVC\ConfigResolverInterface | PHPUnit_Framework_MockObject_MockObject
getExtensions ( ) : array
getFixturesDir ( ) : string
getLocaleConverterInterfaceMock ( ) : eZ\Publish\Core\MVC\Symfony\Locale\LocaleConverterInterface | PHPUnit_Framework_MockObject_MockObject
getTranslatorInterfaceMock ( ) : Symfony\Component\Translation\TranslatorInterface | PHPUnit_Framework_MockObject_MockObject
setConfigurationLocale ( string $locale, string $defaultLocale )

Method Details

getConfigResolverInterfaceMock() protected method

protected getConfigResolverInterfaceMock ( ) : eZ\Publish\Core\MVC\ConfigResolverInterface | PHPUnit_Framework_MockObject_MockObject
return eZ\Publish\Core\MVC\ConfigResolverInterface | PHPUnit_Framework_MockObject_MockObject

getExtensions() protected method

protected getExtensions ( ) : array
return array

getFixturesDir() protected method

protected getFixturesDir ( ) : string
return string

getLocale() public method

public getLocale ( ) : string
return string $locale

getLocaleConverterInterfaceMock() protected method

protected getLocaleConverterInterfaceMock ( ) : eZ\Publish\Core\MVC\Symfony\Locale\LocaleConverterInterface | PHPUnit_Framework_MockObject_MockObject
return eZ\Publish\Core\MVC\Symfony\Locale\LocaleConverterInterface | PHPUnit_Framework_MockObject_MockObject

getTranslatorInterfaceMock() protected method

protected getTranslatorInterfaceMock ( ) : Symfony\Component\Translation\TranslatorInterface | PHPUnit_Framework_MockObject_MockObject
return Symfony\Component\Translation\TranslatorInterface | PHPUnit_Framework_MockObject_MockObject

setConfigurationLocale() protected method

protected setConfigurationLocale ( string $locale, string $defaultLocale )
$locale string
$defaultLocale string

Property Details

$configResolverInterfaceMock protected property

protected $configResolverInterfaceMock

$locale protected property

protected $locale

$localeConverterInterfaceMock protected property

protected $localeConverterInterfaceMock

$suffixes protected property

protected $suffixes

$translatorMock protected property

protected $translatorMock