Crate galvanic_mock_lib

Crate galvanic_mock_lib 

Source
Expand description

The support library for galvanic-mock.

The crate provides common traits for all mocks generated by galvanic-mock as well as data structures for handling the state of mock objects.

Structs§

ExpectBehaviour
Stores the state of a expected behaviour.
GivenBehaviour
Stores the state of a given behaviour.
MockState
Stores the state of a mock.

Traits§

ArgMatcher
Defines a matcher for the arguments of a mocked method.
MockControl
A trait for controlling the behaviour of a mock.