code: func (m *MockOS) OpenFile(arg0 string, arg1 int, arg2 os.FileMode) (oswrapper.File, error) {
  	ret := m.ctrl.Call(m, "OpenFile", arg0, arg1, arg2)
  	ret0, _ := ret[0].(oswrapper.File)
  	ret1, _ := ret[1].(error)
  	return ret0, ret1
  }
docs: // OpenFile mocks base method