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{})
| 617 | // |
| 618 | // assert.NotImplementsf(t, (*MyInterface)(nil), new(MyObject), "error message %s", "formatted") |
| 619 | func NotImplementsf(t TestingT, interfaceObject interface{}, object interface{}, msg string, args ...interface{}) bool { |
| 620 | if h, ok := t.(tHelper); ok { |
| 621 | h.Helper() |
| 622 | } |
| 623 | return NotImplements(t, interfaceObject, object, append([]interface{}{msg}, args...)...) |
| 624 | } |
| 625 | |
| 626 | // NotNilf asserts that the specified object is not nil. |
| 627 | // |
no test coverage detected
searching dependent graphs…