protected function cleanDatabase()
 {
     foreach ($this->repository->findMappedStatements(array()) as $statement) {
         $this->objectManager->remove($statement);
     }
     $this->objectManager->flush();
 }