code: func (_m *DBClient) GetDeviceReportByName(n string) (models.DeviceReport, error) {
  	ret := _m.Called(n)
  
  	var r0 models.DeviceReport
  	if rf, ok := ret.Get(0).(func(string) models.DeviceReport); ok {
  		r0 = rf(n)
  	} else {
  		r0 = ret.Get(0).(models.DeviceReport)
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(string) error); ok {
  		r1 = rf(n)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // GetDeviceReportByName provides a mock function with given fields: n