func (_m *PolicyDBClient) GetChargingKeysForRules(
	ruleIDs []string, ruleDefs []*protos.PolicyRule) ([]policydb.ChargingKey, error) {

	ret := _m.Called(ruleIDs, ruleDefs)

	var r0 []policydb.ChargingKey
	if rf, ok := ret.Get(0).(func([]string, []*protos.PolicyRule) []policydb.ChargingKey); ok {
		r0 = rf(ruleIDs, ruleDefs)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]policydb.ChargingKey)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func([]string, []*protos.PolicyRule) error); ok {
		r1 = rf(ruleIDs, ruleDefs)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
// GetChargingKeysForRules provides a mock function with given fields: ruleIDs
GetChargingKeysForRules provides a mock function with given fields: ruleIDs
// GetChargingKeysForRules provides a mock function with given fields : ruleIDs
func (_m *PolicyDBClient) GetChargingKeysForRules(
	ruleIDs []string, ruleDefs []*protos.PolicyRule) ([]policydb.ChargingKey, error) {
	ret := _m.Called(ruleIDs, ruleDefs)
	var r0 []policydb.ChargingKey
	if rf, ok := ret.Get(0).(func([]string, []*protos.PolicyRule) []policydb.ChargingKey); ok {
		r0 = rf(ruleIDs, ruleDefs)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]policydb.ChargingKey)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func([]string, []*protos.PolicyRule) error); ok {
		r1 = rf(ruleIDs, ruleDefs)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * PolicyDBClient ) GetChargingKeysForRules ( ruleIDs [ ] string , ruleDefs [ ] * protos . PolicyRule ) ( [ ] policydb . ChargingKey , error ) { ret := _m . Called ( ruleIDs , ruleDefs ) var r0 [ ] policydb . ChargingKey if rf , ok := ret . Get ( 0 ) . ( func ( [ ] string , [ ] * protos . PolicyRule ) [ ] policydb . ChargingKey ) ; ok { r0 = rf ( ruleIDs , ruleDefs ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( [ ] policydb . ChargingKey ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( [ ] string , [ ] * protos . PolicyRule ) error ) ; ok { r1 = rf ( ruleIDs , ruleDefs ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
GetChargingKeysForRules provides a mock function with given fields: ruleIDs
GetChargingKeysForRules provides a mock function with given fields : ruleIDs