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