<?php class NamespaceCoverageClassExtendedTest extends PHPUnit_Framework_TestCase { /** * @covers Foo\CoveredClass<extended> */ public function testSomething() { $o = new Foo\CoveredClass; $o->publicMethod(); } }