jstewmc/test-case
Composer 安装命令:
composer require jstewmc/test-case
包简介
Access private properties in unit tests
README 文档
README
Access private properties in unit tests.
use Jstewmc\TestCase\TestCase; class Test extends TestCase { public function testFoo() { $class = new class { private $foo = 'bar'; }; $this->assertEquals('bar', $this->getProperty('foo', $class)); return; } }
License
Author
Version
2.0.0, July 4, 2017
- Update PHPUnit's major version from
^5.4to^6.2.
1.0.0, August 13, 2016
- Stable release
0.1.0, July 28, 2016
- Initial release
统计信息
- 总下载量: 150
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 24
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-08-07