# File tests/dispatchertester.rb, line 68 def test_missing_code_block nd = NQXML::Dispatcher.new(@xml) assert_exception(ArgumentError) { nd.handle(comment:comment) } assert_exception(ArgumentError) { nd.handle(text:text, )a b c)) } assert_exception(ArgumentError) { nd.handle(text:text, foo:foo) } end