module Mocks::StandardStubs

Overview

Set of methods for stubbable objects. These methods have default implementations to prevent UnexpectedMessage errors in common use cases. Their behavior can be redefined with a new stub.

NOTE These methods are sensitive to changes in the core library. For instance, if the type restrictions don't align, these stubs won't apply.

Defined in:

mocks/standard_stubs.cr