def METHOD_NAME(self):
    self.assertGreater(self.database_upgrade.id, 0)
    self.assertIsNotNone(self.database_upgrade.source_plan)
    self.assertEqual(
        self.database_upgrade.source_plan.name,
        self.database_upgrade.source_plan_name
    )
    self.assertIsNotNone(self.database_upgrade.target_plan)
    self.assertEqual(
        self.database_upgrade.target_plan.name,
        self.database_upgrade.target_plan_name
    )