class

Spectator::Mocks::ExceptionMethodStub(ExceptionType)

Inherits Spectator::Mocks::GenericMethodStub < Spectator::Mocks::MethodStub < Reference < Object

Constructors

new(name, source, exception : ExceptionType, args = nil)
Source

Instance methods

call(_args : GenericArguments(T, NT), &_original : -> RT) forall T, NT, RT
Source