Method: FlexMock#flexmock_verify
- Defined in:
- lib/flexmock/core.rb
#flexmock_verify ⇒ Object
Verify that each method that had an explicit expected count was actually called that many times.
108 109 110 111 112 113 114 115 116 |
# File 'lib/flexmock/core.rb', line 108 def flexmock_verify return if @verified @verified = true flexmock_wrap do @expectations.each do |sym, handler| handler.flexmock_verify end end end |