public void IsDynamicVisible_WithOtherProperties_ReturnsFalse(string property) { // Setup var illustrationPoint = new TestFaultTreeIllustrationPoint(); var properties = new IllustrationPointProperties(illustrationPoint, "NotImportant", string.Empty); // Call bool isVisible = properties.IsDynamicVisible(property); // Assert Assert.IsFalse(isVisible); }
public void IsDynamicVisible_WithEmptyClosingSituation_ReturnsFalse() { // Setup var illustrationPoint = new TestFaultTreeIllustrationPoint(); var properties = new IllustrationPointProperties(illustrationPoint, "NotImportant", string.Empty); // Call bool isVisible = properties.IsDynamicVisible(nameof(IllustrationPointProperties.ClosingSituation)); // Assert Assert.IsFalse(isVisible); }