// CreateOAuth2Client provides a mock function with given fields: _a0
CreateOAuth2Client provides a mock function with given fields: _a0
// CreateOAuth2Client provides a mock function with given fields : _a0
func (_m *HydraAdminApi) CreateOAuth2Client(_a0 *admin.CreateOAuth2ClientParams) (*admin.CreateOAuth2ClientCreated, error) {
	ret := _m.Called(_a0)
	var r0 *admin.CreateOAuth2ClientCreated
	if rf, ok := ret.Get(0).(func(*admin.CreateOAuth2ClientParams) *admin.CreateOAuth2ClientCreated); ok {
		r0 = rf(_a0)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*admin.CreateOAuth2ClientCreated)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*admin.CreateOAuth2ClientParams) error); ok {
		r1 = rf(_a0)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * HydraAdminApi ) CreateOAuth2Client ( _a0 * admin . CreateOAuth2ClientParams ) ( * admin . CreateOAuth2ClientCreated , error ) { ret := _m . Called ( _a0 ) var r0 * admin . CreateOAuth2ClientCreated if rf , ok := ret . Get ( 0 ) . ( func ( * admin . CreateOAuth2ClientParams ) * admin . CreateOAuth2ClientCreated ) ; ok { r0 = rf ( _a0 ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( * admin . CreateOAuth2ClientCreated ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( * admin . CreateOAuth2ClientParams ) error ) ; ok { r1 = rf ( _a0 ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
CreateOAuth2Client provides a mock function with given fields: _a0
CreateOAuth2Client provides a mock function with given fields : _a0