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