Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mmock ¶
type Mmock struct {
// contains filtered or unexported fields
}
func (*Mmock) CheckHttpMockWasInvoked ¶
checkHttpMockWasInvoked queries the HTTP API of mmock that returns what mocked endpoints have been called. It will fail the test if the mock does not contain at least one request matching the expectedPath.
func (*Mmock) CheckHttpMockWasNotInvoked ¶
checkHttpMockWasNotInvoked fails the test if the mock contains any requests matching unexpectedPath
func (*Mmock) ResetMmock ¶
resetMmock resets the mmock storage of invoked endpoints.
Click to show internal directories.
Click to hide internal directories.