Class: Spec::Mocks::NegativeMessageExpectation

Class | Spec::Mocks::NegativeMessageExpectation
In: | lib/spec/mocks/message_expectation.rb
Parent: | MessageExpectation

### Methods

negative_expectation_for? new

### Public Class methods

new(message, expectation_ordering, expected_from, sym, method_block)

[Source]

         # File lib/spec/mocks/message_expectation.rb, line 257
    257:       def initialize(message, expectation_ordering, expected_from, sym, method_block)
    258:         super(message, expectation_ordering, expected_from, sym, method_block, 0)
    259:       end

### Public Instance methods

negative_expectation_for?(sym)

[Source]

         # File lib/spec/mocks/message_expectation.rb, line 261
    261:       def negative_expectation_for?(sym)
    262:         return @sym == sym
    263:       end

[Validate]