(t *testing.T)
| 8 | ) |
| 9 | |
| 10 | func TestImplementsWrapper(t *testing.T) { |
| 11 | assert := New(new(testing.T)) |
| 12 | |
| 13 | if !assert.Implements((*AssertionTesterInterface)(nil), new(AssertionTesterConformingObject)) { |
| 14 | t.Error("Implements method should return true: AssertionTesterConformingObject implements AssertionTesterInterface") |
| 15 | } |
| 16 | if assert.Implements((*AssertionTesterInterface)(nil), new(AssertionTesterNonConformingObject)) { |
| 17 | t.Error("Implements method should return false: AssertionTesterNonConformingObject does not implements AssertionTesterInterface") |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | func TestIsTypeWrapper(t *testing.T) { |
| 22 | assert := New(new(testing.T)) |
nothing calls this directly
no test coverage detected
searching dependent graphs…