Basically the mocking mechanism just switches the configuration and then waits for the service to be accessed in order to cause acutual instantiation of the mock service implementation. But sometimes we want to prepare and rig the mock instance prior to the first invocation; in such cases it can be handy just to trigger the lazy creating process |
||
|---|---|---|
| .. | ||
| element-access-test.cpp | ||
| state-map-grouping-storage-test.cpp | ||