Метод | Описание | |
---|---|---|
handlerParamsProvider ( ) : array | Data provider for testHandlers !\ Important note: Just add values to this array if you need to test a newly added handler | |
testHandlerForProcessor ( ) | Test extra option processor handler | |
testHandlerLoader ( ) | ||
testHandlerLoaderWithInvalidFormatter ( ) | ||
testHandlerLoaderWithInvalidHandler ( ) | ||
testHandlerLoaderWithInvalidHandlers ( ) | ||
testHandlerLoaderWithInvalidProcessor ( ) | ||
testHandlerLoaderWithNoOptions ( ) | ||
testHandlers ( string $class, string $optionName, mixed $optionValue, string $calledMethodName ) | Test the extra option handlers | |
testHandlersExist ( ) | Test that handlers exist | |
testReplacesHandlerNamesInOptionsArrayWithLoadedCallable ( ) |
Метод | Описание | |
---|---|---|
doTestMethodCalledInHandler ( string $class, string $methodName, mixed $methodArg, Closure $closure ) | Tests that calling the given Closure will trigger a method call with the given param in the given class | |
getHandler ( string $class, string $optionName ) : Closure | Check if the handler exists for a given class and option Also checks that it a callable and return it |
public handlerParamsProvider ( ) : array | ||
Результат | array | of array of args for testHandlers |
public testHandlerForProcessor ( ) |
public testHandlerLoaderWithInvalidFormatter ( ) |
public testHandlerLoaderWithInvalidHandler ( ) |
public testHandlerLoaderWithInvalidHandlers ( ) |
public testHandlerLoaderWithInvalidProcessor ( ) |