public void Inject_PluggablePart_PartsImported() { var pluggablePart = new PluggablePart(); PluginHost.Inject(pluggablePart); Assert.NotNull(pluggablePart.FakeParts); Assert.NotEmpty(pluggablePart.FakeParts); }
public void Inject_PluggablePartWithFilterableImports_PartImported(string fakeId) { var pluggablePart = new PluggablePartWithFilterableImports(); PluginHost.Inject(pluggablePart, new Guid(fakeId)); }