(n int)
| 96 | } |
| 97 | |
| 98 | func (m *mockFile) Readdirnames(n int) ([]string, error) { |
| 99 | args := m.Called(n) |
| 100 | |
| 101 | names, ok := args.Get(0).([]string) |
| 102 | if names != nil && !ok { |
| 103 | panic(errAssertion) |
| 104 | } |
| 105 | |
| 106 | return names, args.Error(1) |
| 107 | } |
| 108 | |
| 109 | func (m *mockFile) Stat() (os.FileInfo, error) { |
| 110 | args := m.Called() |