Methods

FlexMock::ExactCountValidator

                                                                  

Validator for exact call counts.

Public Instance Methods

validate(n) click to toggle source

Validate that the method expectation was called exactly n times.

    # File lib/flexmock/validators.rb, line 39
39:     def validate(n)
40:       FlexMock.framework_adapter.assert_equal @limit, n,
41:         "method '#{@exp}' called incorrect number of times"
42:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.