public async void When_user_activates_a_plugin_two_meta_records_could_be_created() { // Given a plugin and when user activates it var id = await pluginService.ActivatePluginAsync(MY_PLUGIN_FOLDER); // Then there will be a plugin meta var pluginMeta = await metaRepository.GetAsync(id); Assert.NotNull(pluginMeta); // And the plugin's Active property is true var plugin = await pluginService.GetExtensionAsync(id); Assert.True(plugin.Active); }