Свойство | Тип | Описание | |
---|---|---|---|
$mock | PHPUnit_Framework_MockObject_MockObject | Mock of extending Cascade\Config\Loader\FileLoader\FileLoaderAbstract |
Метод | Описание | |
---|---|---|
arrayDataProvider ( ) : array | Data provider for testGetSectionOf | |
extensionsDataProvider ( ) : array | Data provider for testGetSectionOf | |
setUp ( ) | ||
tearDown ( ) | ||
testGetSectionOf ( array $array, string $section, array $expected ) | Test the getSectionOf function | |
testLoadFileFromString ( ) | Test loading config from a valid file | |
testReadFrom ( ) | Test loading config from a valid file | |
testValidateExtension ( boolean $expected, $filepath ) | Test validating the extension | |
testloadFileFromInvalidFile ( ) | Test loading an invalid file |
public arrayDataProvider ( ) : array | ||
Результат | array | array wit original value, section and expected value |
public extensionsDataProvider ( ) : array | ||
Результат | array | array with original value, section and expected value |
public testLoadFileFromString ( ) |
public testValidateExtension ( boolean $expected, $filepath ) | ||
$expected | boolean | Expected boolean value |
public testloadFileFromInvalidFile ( ) |