public void IsEnabled_WhenDisabed_ShouldReturnFasle() { var sut = new MetricSpace("ss"); sut.Disable(); var result = sut.IsEnabled(); Assert.False(result); }
public void IsEnabled_WhenEnableAfterDisable_ShouldBeEnabled() { var sut = new MetricSpace("ss"); sut.IsEnabled(); AssertEnabled(sut); sut.Disable(); AssertDisabled(sut); sut.Enable(); AssertEnabled(sut); }