<?phpclass NamespaceCoverageMethodTest extends PHPUnit_Framework_TestCase{ /** * @covers FooCoveredClass::publicMethod */ public function testSomething() { $o = new FooCoveredClass; $o->publicMethod(); }}