@after 标注用于指明此方法应当在测试用例类中的每个测试方法运行完成之后调用。
@after
class MyTest extends PHPUnit_Framework_TestCase { /** * @after */ public function tearDownSomeFixtures() { // ... } /** * @after */ public function tearDownSomeOtherFixtures() { // ... } }