示例#1
0
        public void ConditionsHoldsShouldReturnTrueWhenTheConditionIsTrue()
        {
            // Arrange
            var condition = new SimpleCondition(true);

            // Act
            var conditionHolds = condition.Holds(null);

            // Assert
            Assert.True(conditionHolds);
        }
示例#2
0
        public void ConditionsHoldsShouldReturnFalseWhenTheConditionIsFalse()
        {
            // Arrange
            var condition = new SimpleCondition(false);

            // Act
            var conditionHolds = condition.Holds(null);

            // Assert
            Assert.False(conditionHolds);
        }