Test Helper
, (*1)
This package provide simple helpers for testing., (*2)
API
TestHelper::getPropertyValue($classOrObject, $propertyName)
This method allows to get property value of class (if property is static) or object (include private/protected), (*3)
TestHelper::setPropertyValue($classOrObject, $propertyName, $propertyValue)
This method allows to set value of class (if property is static) or object property, (*4)
TestHelper::getMethod($className, $methodName)
This method allows to get class method (include private/protected), (*5)
getProperty($classNameOrObject, $propertyName)
This method allows to get class property (include private/protected), (*6)
invokeMethod($classNameOrObject, $methodName, [$parameters])
This method provide ability to call private/protected methods in the object, (*7)