Encapsulates a value to be returned by a mocked function. More...
#include <Expectation.hpp>
Public Member Functions | |
| ValueGiver (ReturnType value) | |
| Full initialisation constructor that species the value to return for a mocked function. | |
| ReturnType | giveValue () const noexcept |
Encapsulates a value to be returned by a mocked function.
| ReturnType | The type of the value to be returned. |
|
explicit |
Full initialisation constructor that species the value to return for a mocked function.
| value | The initial value to be given. |
|
noexcept |
Provides the stored value for a mocked function.