| 9 | ) |
| 10 | |
| 11 | type FakeStackRepository struct { |
| 12 | FindAllStub func() ([]models.Stack, error) |
| 13 | findAllMutex sync.RWMutex |
| 14 | findAllArgsForCall []struct { |
| 15 | } |
| 16 | findAllReturns struct { |
| 17 | result1 []models.Stack |
| 18 | result2 error |
| 19 | } |
| 20 | findAllReturnsOnCall map[int]struct { |
| 21 | result1 []models.Stack |
| 22 | result2 error |
| 23 | } |
| 24 | FindByGUIDStub func(string) (models.Stack, error) |
| 25 | findByGUIDMutex sync.RWMutex |
| 26 | findByGUIDArgsForCall []struct { |
| 27 | arg1 string |
| 28 | } |
| 29 | findByGUIDReturns struct { |
| 30 | result1 models.Stack |
| 31 | result2 error |
| 32 | } |
| 33 | findByGUIDReturnsOnCall map[int]struct { |
| 34 | result1 models.Stack |
| 35 | result2 error |
| 36 | } |
| 37 | FindByNameStub func(string) (models.Stack, error) |
| 38 | findByNameMutex sync.RWMutex |
| 39 | findByNameArgsForCall []struct { |
| 40 | arg1 string |
| 41 | } |
| 42 | findByNameReturns struct { |
| 43 | result1 models.Stack |
| 44 | result2 error |
| 45 | } |
| 46 | findByNameReturnsOnCall map[int]struct { |
| 47 | result1 models.Stack |
| 48 | result2 error |
| 49 | } |
| 50 | invocations map[string][][]interface{} |
| 51 | invocationsMutex sync.RWMutex |
| 52 | } |
| 53 | |
| 54 | func (fake *FakeStackRepository) FindAll() ([]models.Stack, error) { |
| 55 | fake.findAllMutex.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected