Ejemplo n.º 1
0
func (m *fsvJsonHandlerMock) Marshal(v interface{}) ([]byte, error) {
	args := m.Called(v)
	return test.ByteArrayArg(args, 0), args.Error(1)
}
Ejemplo n.º 2
0
func (m *fsvFileSystemMock) ReadFile(path string) ([]byte, error) {
	args := m.Called(path)
	return test.ByteArrayArg(args, 0), args.Error(1)
}