annotation Mocks::DefaultBehavior

Overview

Controls the behavior used by stubbed methods. This behavior is only applied when there isn't an applicable stub or the stub yielded to the original method.

One argument should be passed along with the annotation, which is a symbol identifying the behavior.

Defined in:

mocks/default_behavior.cr