Module: Uttk::Filters::NodeCut::Assertions

Defined in:
lib/uttk/filters/NodeCut.rb

Instance Method Summary collapse

Instance Method Details

#assert_node_cut(input, ref, options) ⇒ Object



83
84
85
86
87
88
89
90
# File 'lib/uttk/filters/NodeCut.rb', line 83

def assert_node_cut ( input, ref, options )
  @mock_object.mock_clear
  @filter = NodeCut.new([@mock_object], options)
  input.each do |n|
    @filter.update(*Logger.make_notif(n))
  end
  assert_mock Logger.make_notifs(ref)
end