unit_threaded.mock

Members

Functions

mockStruct
auto mockStruct(auto ref T returns)

Version of mockStruct that accepts 0 or more values of the same type. Whatever function is called on it, these values will be returned one by one. The limitation is that if more than one function is called on the mock, they all return the same type

Structs

Mock
struct Mock(T)

Meta