public void Validate_ContainsAtLeastOneStartPointGateProbe_ShouldReturnFalse() { // Arange MinNodeValidation minNodeValidation = new MinNodeValidation(); // Act bool result = minNodeValidation.Validate(_nodeDefinitions); // Assert Assert.IsTrue(result); }
public void Validate_NotContainsAtLeastOneStartPointGateProbe_ShouldReturnFalse() { // Arange MinNodeValidation minNodeValidation = new MinNodeValidation(); _nodeDefinitions.Remove(_nodeDefinitions.FirstOrDefault(node => node.Name == "NODE1")); // Act bool result = minNodeValidation.Validate(_nodeDefinitions); // Assert Assert.IsFalse(result); }