Sha256: 05f342d74e72c5d33c12ecfd7b0b9812334a1cc40f83ced3a93be7fa9a96ba52
Contents?: true
Size: 670 Bytes
Versions: 89
Compression:
Stored size: 670 Bytes
Contents
module RR module TimesCalledMatchers # Including this module marks the TimesCalledMatcher as Terminal. # Being Terminal the Double will "terminate" when times called is # finite. # # The Double that uses a Terminal TimesCalledMatcher will # eventually be passed over to the next Double when passed # the matching arguments enough times. This is done by the attempt? # method returning false when executed a finite number of times. # # This is in opposition to NonTerminal TimesCalledMatchers, where # attempt? will always return true. module Terminal #:nodoc: def terminal? true end end end end
Version data entries
89 entries across 85 versions & 9 rubygems