i would suggest either wrapping this as a class (to only have this list of patches once) or add a helper to "mock the actual cloud" (with a better name)