NotImplementsf asserts that an object does not implement the specified interface. assert.NotImplementsf(t, (*MyInterface)(nil), new(MyObject), "error message %s", "formatted")
(t TestingT, interfaceObject interface{}, object interface{}, msg string, args ...interface{})
| 643 | // |
| 644 | // assert.NotImplementsf(t, (*MyInterface)(nil), new(MyObject), "error message %s", "formatted") |
| 645 | func NotImplementsf(t TestingT, interfaceObject interface{}, object interface{}, msg string, args ...interface{}) bool { |
| 646 | if h, ok := t.(tHelper); ok { |
| 647 | h.Helper() |
| 648 | } |
| 649 | return NotImplements(t, interfaceObject, object, append([]interface{}{msg}, args...)...) |
| 650 | } |
| 651 | |
| 652 | // NotNilf asserts that the specified object is not nil. |
| 653 | // |
no test coverage detected