菜谱项目

NamespaceCoveragePrivateTest.php 250B

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