菜谱项目

CoveragePrivateTest.php 233B

12345678910111213
  1. <?php
  2. class CoveragePrivateTest extends PHPUnit_Framework_TestCase
  3. {
  4. /**
  5. * @covers CoveredClass::<private>
  6. */
  7. public function testSomething()
  8. {
  9. $o = new CoveredClass;
  10. $o->publicMethod();
  11. }
  12. }