func (_m *PolicyDBClient) GetPolicyRuleByID(id string) (*protos.PolicyRule, error) {
	ret := _m.Called(id)

	var r0 *protos.PolicyRule
	if rf, ok := ret.Get(0).(func(string) *protos.PolicyRule); ok {
		r0 = rf(id)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*protos.PolicyRule)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(id)
	} else {
		r1 = ret.Error(1)
	}

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