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