public void AddAssemblies_WithAssemblies_DiscoversMockServiceModuleRegistrar() { var o = new ModuleRegistrarOptions(); o.AddAssemblies(typeof(object).Assembly, this.GetType().Assembly); Assert.Contains(o.ModuleRegistrars, m => m is MockServiceModuleRegistrar); }
public void AddAssemblies_WithNoAssembly_DoesNotThrowArgumentNullException() { var o = new ModuleRegistrarOptions(); o.AddAssemblies(); }