/**
  * Test the clear() method.
  *
  * @return void
  */
 public function testClear()
 {
     $locator = $this->_setMockLocator();
     $locator->expects($this->once())->method('clear');
     MethodRegistry::clear();
 }
 public function tearDown()
 {
     MethodRegistry::clear();
     parent::tearDown();
 }