Exemplo n.º 1
0
 protected function tearDown()
 {
     helpers_File::remove($this->directory);
     if ($this->repository != null) {
         $directory = $this->repository->getPath();
         $this->repository->delete();
         parent::tearDown();
     } else {
         throw new common_Exception('Repository should never be null');
     }
 }
Exemplo n.º 2
0
 public function tearDown()
 {
     parent::tearDown();
     $this->sampleUser->delete();
 }