class MatcherWithValueTest
Public Instance Methods
setup()
click to toggle source
# File test/unit/matcher_test.rb, line 18 def setup @matcher = StateMachine::Matcher.new(nil) end
test_should_filter_unknown_values()
click to toggle source
# File test/unit/matcher_test.rb, line 26 def test_should_filter_unknown_values assert_equal [nil], @matcher.filter([nil, :parked]) end
test_should_have_values()
click to toggle source
# File test/unit/matcher_test.rb, line 22 def test_should_have_values assert_equal [nil], @matcher.values end