def METHOD_NAME(self):
    self.client.login(username="admin", password="admin")
    geoapp_copy = None
    try:
        geoapp_copy = resource_manager.copy(self.geoapp, defaults=dict(title="Testing GeoApp 2"))
        self.assertIsNotNone(geoapp_copy)
        self.assertEqual(geoapp_copy.title, "Testing GeoApp 2")
    finally:
        if geoapp_copy:
            geoapp_copy.delete()
        self.assertIsNotNone(self.geoapp)