nano_mock library
Classes
-
NanoMock<
T> -
Mocks a function that returns a value of type
T. - NanoMockCallCount
- Interface for accessing the number of calls made to a mock.
Extensions
- NanoMockCallCountExtensions on NanoMockCallCount
- Utility extensions on NanoMockCallCount.
-
NanoMockVoidExtensions
on NanoMock<
void> -
Utility extensions on NanoMock that can be used when the return type is
void.
Exceptions / Errors
- IncorrectCallCountException
-
Thrown when a test expects
expectedCallscall(s) to have been made but the actual number of calls isactualCalls, which differs fromexpectedCalls. - InvalidNanoMockCallException
- Thrown when a NanoMock instance has been called with arguments that have not been mocked.