public void enabled_service_should_Be_reported_as_enabled() { var sut = new AppConfigServiceSettings(); sut.IsEnabled(typeof(EnabledService)).Should().BeTrue(); }
public void non_configured_service_should_be_reported_as_disabler_per_default() { var sut = new AppConfigServiceSettings(); sut.IsEnabled(typeof(NonExistantService)).Should().BeFalse(); }
public void disabled_service_should_also_be_reported_as_disabled() { var sut = new AppConfigServiceSettings(); sut.IsEnabled(typeof (DisabledServoce)).Should().BeFalse(); }