(tb testing.TB)
| 66 | } |
| 67 | |
| 68 | func newMockFileInfo(tb testing.TB) *mockFileInfo { |
| 69 | tb.Helper() |
| 70 | |
| 71 | mock := new(mockFileInfo) |
| 72 | mock.Test(tb) |
| 73 | |
| 74 | tb.Cleanup(func() { mock.AssertExpectations(tb) }) |
| 75 | |
| 76 | return mock |
| 77 | } |
| 78 | |
| 79 | type mockFile struct { |
| 80 | mock.Mock |
no outgoing calls
no test coverage detected
searching dependent graphs…