NotImplementsf asserts that an object does not implement the specified interface. a.NotImplementsf((*MyInterface)(nil), new(MyObject), "error message %s", "formatted")
(interfaceObject interface{}, object interface{}, msg string, args ...interface{})
| 1232 | // |
| 1233 | // a.NotImplementsf((*MyInterface)(nil), new(MyObject), "error message %s", "formatted") |
| 1234 | func (a *Assertions) NotImplementsf(interfaceObject interface{}, object interface{}, msg string, args ...interface{}) bool { |
| 1235 | if h, ok := a.t.(tHelper); ok { |
| 1236 | h.Helper() |
| 1237 | } |
| 1238 | return NotImplementsf(a.t, interfaceObject, object, msg, args...) |
| 1239 | } |
| 1240 | |
| 1241 | // NotNil asserts that the specified object is not nil. |
| 1242 | // |
nothing calls this directly
no test coverage detected