PHP 클래스 Sonata\tests\PriceBundle\DependencyInjection\SonataPriceExtensionTest

저자: Hugo Briand ([email protected])
상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: sonata-project/ecommerce

공개 메소드들

메소드 설명
testConfiguration ( ) Tests if the configuration is well parsed & parameters are well set.
testCurrencyRequired ( ) Asserts that an InvalidConfigurationException is thrown when not providing currency parameter.

보호된 메소드들

메소드 설명
getDefaultConfig ( ) : array Gets the configuration as an array.

메소드 상세

getDefaultConfig() 보호된 메소드

Gets the configuration as an array.
protected getDefaultConfig ( ) : array
리턴 array

testConfiguration() 공개 메소드

Tests if the configuration is well parsed & parameters are well set.
public testConfiguration ( )

testCurrencyRequired() 공개 메소드

Asserts that an InvalidConfigurationException is thrown when not providing currency parameter.