(t *testing.T)
| 2434 | } |
| 2435 | |
| 2436 | func TestIssue1785ArgumentWithMutatingStringer(t *testing.T) { |
| 2437 | m := &Mock{} |
| 2438 | m.On("Method", &mutatingStringer{N: 2}) |
| 2439 | m.On("Method", &mutatingStringer{N: 1}) |
| 2440 | m.MethodCalled("Method", &mutatingStringer{N: 1}) |
| 2441 | m.MethodCalled("Method", &mutatingStringer{N: 2}) |
| 2442 | m.AssertExpectations(t) |
| 2443 | } |
nothing calls this directly
no test coverage detected