public void MatchesStates_StatefulAndWithoutDemandedStates() { StateCombination combination = _testHelper.GetStateCombinationForDeliveredAndUnpaidOrder(); List <StateDefinition> states = CreateEmptyStateList(); Assert.That(combination.MatchesStates(states), Is.False); }
public void MatchesStates_DeliveredAndUnpaid() { StateCombination combination = _testHelper.GetStateCombinationForDeliveredAndUnpaidOrder(); StateDefinition[] states = combination.GetStates(); Assert.That(combination.MatchesStates(states), Is.True); }
public void MatchesStates_StatefulWithWildcard() { StateCombination combination = _testHelper.GetStateCombinationForDeliveredAndUnpaidOrder(); StateDefinition[] states = combination.GetStates(); Assert.Fail("TODO: Implement"); Assert.That(combination.MatchesStates(states), Is.True); }