func (_m *IAttackStore) GetByID(_a0 string) (models.AttackDetails, error) {
	ret := _m.Called(_a0)
	var r0 models.AttackDetails
	if rf, ok := ret.Get(0).(func(string) models.AttackDetails); ok {
		r0 = rf(_a0)
	} else {
		r0 = ret.Get(0).(models.AttackDetails)
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(_a0)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
GetByID provides a mock function with given fields: _a0
package mocks
import mock "github.com/stretchr/testify/mock"
import models "vegeta-server/models"
type IAttackStore struct {
	mock.Mock
}
func (_m *IAttackStore) Add(_a0 models.AttackDetails) error {
	ret := _m.Called(_a0)
	var r0 error
	if rf, ok := ret.Get(0).(func(models.AttackDetails) error); ok {
		r0 = rf(_a0)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *IAttackStore) Delete(_a0 string) error {
	ret := _m.Called(_a0)
	var r0 error
	if rf, ok := ret.Get(0).(func(string) error); ok {
		r0 = rf(_a0)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *IAttackStore) GetAll(filters models.FilterParams) []models.AttackDetails {
	ret := _m.Called(filters)
	var r0 []models.AttackDetails
	if rf, ok := ret.Get(0).(func(models.FilterParams) []models.AttackDetails); ok {
		r0 = rf(filters)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]models.AttackDetails)
		}
	}
	return r0
}