protected function setUp()
 {
     parent::setUp();
     $this->twigEnvironment = m::mock('Twig_Environment');
     $this->twigEngine = m::mock('Symfony\\Bundle\\TwigBundle\\TwigEngine');
     $this->fileSystem = m::mock('Symfony\\Component\\Filesystem\\Filesystem');
 }
 protected function setUp()
 {
     parent::setUp();
     $this->writer = m::mock('Claroline\\MigrationBundle\\Generator\\Writer');
     $this->generator = m::mock('Claroline\\MigrationBundle\\Generator\\Generator');
     $this->migrator = m::mock('Claroline\\MigrationBundle\\Migrator\\Migrator');
     $this->manager = new Manager($this->generator, $this->writer, $this->migrator);
 }
 protected function setUp()
 {
     parent::setUp();
     $this->em = m::mock('Doctrine\\ORM\\EntityManager');
     $this->schemaTool = m::mock('Doctrine\\ORM\\Tools\\SchemaTool');
     $this->fromSchema = m::mock('Doctrine\\DBAL\\Schema\\Schema');
     $this->toSchema = m::mock('Doctrine\\DBAL\\Schema\\Schema');
     $this->entityAMetadata = m::mock('Doctrine\\ORM\\Mapping\\ClassMetadataInfo');
     $this->entityBMetadata = m::mock('Doctrine\\ORM\\Mapping\\ClassMetadataInfo');
     $this->metadata = array($this->entityAMetadata, $this->entityBMetadata);
 }