func (_m *FS) CheckExistsOrWrite(filename string, data []byte) (bool, error) {
	ret := _m.Called(filename, data)

	var r0 bool
	if rf, ok := ret.Get(0).(func(string, []byte) bool); ok {
		r0 = rf(filename, data)
	} else {
		r0 = ret.Get(0).(bool)
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(string, []byte) error); ok {
		r1 = rf(filename, data)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
// CheckExistsOrWrite provides a mock function with given fields: filename, data
CheckExistsOrWrite provides a mock function with given fields: filename, data
// CheckExistsOrWrite provides a mock function with given fields : filename data
func (_m *FS) CheckExistsOrWrite(filename string, data []byte) (bool, error) {
	ret := _m.Called(filename, data)
	var r0 bool
	if rf, ok := ret.Get(0).(func(string, []byte) bool); ok {
		r0 = rf(filename, data)
	} else {
		r0 = ret.Get(0).(bool)
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string, []byte) error); ok {
		r1 = rf(filename, data)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * FS ) CheckExistsOrWrite ( filename string , data [ ] byte ) ( bool , error ) { ret := _m . Called ( filename , data ) var r0 bool if rf , ok := ret . Get ( 0 ) . ( func ( string , [ ] byte ) bool ) ; ok { r0 = rf ( filename , data ) } else { r0 = ret . Get ( 0 ) . ( bool ) } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( string , [ ] byte ) error ) ; ok { r1 = rf ( filename , data ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
CheckExistsOrWrite provides a mock function with given fields: filename, data
CheckExistsOrWrite provides a mock function with given fields : filename data