Closed Cloud-Awesome closed 10 months ago
Consider having another method which only re-initialises the plugin context, not the whole singleton
i.e.
public void Reinitialise(SimulatorOptions options) { ...}
public void Reinitialise(MockedPluginExecutionContext pluginContext) { ... }
So that it knows what basis to initialise from.
Also allows tests to update and pass in a different plugin execution context (to be added to the simulator options class)