PHP Класс PhpBench\Tests\Unit\Registry\ConfigurableRegistryTest

Наследование: extends RegistryTest
Показать файл Открыть проект

Открытые методы

Метод Описание
setUp ( )
testExtendsDifferentServiceException ( ) It should throw an exception if a config extends a config from a different service.
testGetConfigJsonString ( ) If a JSON encoded string is passed to getConfig, then it should be processed.
testGetConfigJsonStringInvalid ( ) If a invalid JSON encoded string is passed to getConfig, then it should throw an exception.
testGetSetConfig ( ) It should set configuration for a registered service It should retrieve configurations.
testResolveExtended ( ) It should resolve configs that exend other configs.

Описание методов

setUp() публичный Метод

public setUp ( )

testExtendsDifferentServiceException() публичный Метод

It should throw an exception if a config extends a config from a different service.

testGetConfigJsonString() публичный Метод

If a JSON encoded string is passed to getConfig, then it should be processed.

testGetConfigJsonStringInvalid() публичный Метод

If a invalid JSON encoded string is passed to getConfig, then it should throw an exception.

testGetSetConfig() публичный Метод

It should set configuration for a registered service It should retrieve configurations.
public testGetSetConfig ( )

testResolveExtended() публичный Метод

It should resolve configs that exend other configs.
public testResolveExtended ( )