def METHOD_NAME(self):
    self._mock_migratable_db.get_version.return_value = 1
    self._mock_migratable_db.get_upgrade_version.return_value = 2
    self.assertEqual(DataState.STALE, self._installed_data.get_state())