Asserts is required. Asserts the RBAC authorize calls that should be made. If no RBAC calls are expected, pass an empty list: 'm.Asserts()'
(pairs ...any)
| 456 | // Asserts is required. Asserts the RBAC authorize calls that should be made. |
| 457 | // If no RBAC calls are expected, pass an empty list: 'm.Asserts()' |
| 458 | func (m *expects) Asserts(pairs ...any) *expects { |
| 459 | m.assertions = asserts(pairs...) |
| 460 | return m |
| 461 | } |
| 462 | |
| 463 | // Args is required. The arguments to be provided to the method. |
| 464 | // If there are no arguments, pass an empty list: 'm.Args()' |
no test coverage detected