func (_m *FS) OpenFile(filename string, flag int, perm iofs.FileMode) (billy.File, error) {
	ret := _m.Called(filename, flag, perm)

	var r0 billy.File
	if rf, ok := ret.Get(0).(func(string, int, iofs.FileMode) billy.File); ok {
		r0 = rf(filename, flag, perm)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(billy.File)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(string, int, iofs.FileMode) error); ok {
		r1 = rf(filename, flag, perm)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
// OpenFile provides a mock function with given fields: filename, flag, perm
OpenFile provides a mock function with given fields: filename, flag, perm
// OpenFile provides a mock function with given fields : filename flag perm
func (_m *FS) OpenFile(filename string, flag int, perm iofs.FileMode) (billy.File, error) {
	ret := _m.Called(filename, flag, perm)
	var r0 billy.File
	if rf, ok := ret.Get(0).(func(string, int, iofs.FileMode) billy.File); ok {
		r0 = rf(filename, flag, perm)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(billy.File)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string, int, iofs.FileMode) error); ok {
		r1 = rf(filename, flag, perm)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * FS ) OpenFile ( filename string , flag int , perm iofs . FileMode ) ( billy . File , error ) { ret := _m . Called ( filename , flag , perm ) var r0 billy . File if rf , ok := ret . Get ( 0 ) . ( func ( string , int , iofs . FileMode ) billy . File ) ; ok { r0 = rf ( filename , flag , perm ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( billy . File ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( string , int , iofs . FileMode ) error ) ; ok { r1 = rf ( filename , flag , perm ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
OpenFile provides a mock function with given fields: filename, flag, perm
OpenFile provides a mock function with given fields : filename flag perm