aivus/test-helper
最新稳定版本:v0.1
Composer 安装命令:
composer require --dev aivus/test-helper
包简介
Helper package for testing
README 文档
README
This package provide simple helpers for testing.
API
TestHelper::getPropertyValue($classOrObject, $propertyName)
This method allows to get property value of class (if property is static) or object (include private/protected)
TestHelper::setPropertyValue($classOrObject, $propertyName, $propertyValue)
This method allows to set value of class (if property is static) or object property
TestHelper::getMethod($className, $methodName)
This method allows to get class method (include private/protected)
getProperty($classNameOrObject, $propertyName)
This method allows to get class property (include private/protected)
invokeMethod($classNameOrObject, $methodName, [$parameters])
This method provide ability to call private/protected methods in the object
统计信息
- 总下载量: 85
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-10-26