public void UseApplicationFeature_DefaultFeature_ModuleMissing_OnlyModuleAdded() { //-- arrange var microservice = new MicroserviceHostBuilder("test"); //-- act microservice.UseApplicationFeature <DefaultFeatureLoader>(); //-- assert microservice.BootConfig.MicroserviceConfig.ApplicationModules.Length.Should().Be(1); var module = microservice.BootConfig.MicroserviceConfig.ApplicationModules[0]; module.Assembly.Should().Be(this.GetType().GetTypeInfo().Assembly.GetName().Name); module.Features.Length.Should().Be(0); }