getProbe(); $this->assertFalse($probe->isMigrable()); } public function testMigration() { $this->goBackTo31(); $probe = $this->getProbe(); $this->assertTrue($probe->isMigrable()); $this->assertInstanceOf('Alchemy\Phrasea\Setup\Version\Migration\Migration31', $probe->getMigration()); } private function getProbe() { return new Probe31(new Application(Application::ENV_TEST)); } }