菜谱项目

NamespaceCoverageProtectedTest.php 254B

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