struct Spectator::Mocks::Allow(T)

Defined in:

spectator/mocks/allow.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

should(matcher) should, should_eventually(matcher) should_eventually, should_never(matcher) should_never, should_not(matcher) should_not

Constructor Detail

def self.new(mock : T) #

[View source]

Instance Method Detail

def to(stubs : Enumerable(MethodStub)) : Nil #

[View source]
def to(stub : MethodStub) : Nil #

[View source]