(tb testing.TB)
| 171 | } |
| 172 | |
| 173 | func newMockFile(tb testing.TB) *mockFile { |
| 174 | tb.Helper() |
| 175 | |
| 176 | mock := new(mockFile) |
| 177 | mock.Test(tb) |
| 178 | |
| 179 | tb.Cleanup(func() { mock.AssertExpectations(tb) }) |
| 180 | |
| 181 | return mock |
| 182 | } |
| 183 | |
| 184 | type mockFs struct { |
| 185 | mock.Mock |
no outgoing calls
no test coverage detected
searching dependent graphs…