Returns is optional. If it is never called, it will not be asserted.
(rets ...any)
| 471 | |
| 472 | // Returns is optional. If it is never called, it will not be asserted. |
| 473 | func (m *expects) Returns(rets ...any) *expects { |
| 474 | m.outputs = values(rets...) |
| 475 | return m |
| 476 | } |
| 477 | |
| 478 | // Errors is optional. If it is never called, it will not be asserted. |
| 479 | func (m *expects) Errors(err error) *expects { |
no test coverage detected