class Spectator::Mocks::NilMethodStub
- Spectator::Mocks::NilMethodStub
- Spectator::Mocks::GenericMethodStub(Nil)
- Spectator::Mocks::MethodStub
- Reference
- Object
Defined in:
spectator/mocks/nil_method_stub.crConstructors
Instance Method Summary
- #and_call_original
- #and_raise(exception_type : Exception.class)
- #and_raise(exception : Exception)
- #and_raise(message : String)
- #and_raise(exception_type : Exception.class, *args) forall T
- #and_return(value)
- #and_return
- #and_return(*values)
- #call(_args : GenericArguments(T, NT), &_original : -> RT) forall T, NT, RT
- #with(*args : *T, **opts : **NT) forall T, NT