| 9 | ) |
| 10 | |
| 11 | type FakeAppSummaryRepository struct { |
| 12 | GetSummariesInCurrentSpaceStub func() ([]models.Application, error) |
| 13 | getSummariesInCurrentSpaceMutex sync.RWMutex |
| 14 | getSummariesInCurrentSpaceArgsForCall []struct { |
| 15 | } |
| 16 | getSummariesInCurrentSpaceReturns struct { |
| 17 | result1 []models.Application |
| 18 | result2 error |
| 19 | } |
| 20 | getSummariesInCurrentSpaceReturnsOnCall map[int]struct { |
| 21 | result1 []models.Application |
| 22 | result2 error |
| 23 | } |
| 24 | GetSummaryStub func(string) (models.Application, error) |
| 25 | getSummaryMutex sync.RWMutex |
| 26 | getSummaryArgsForCall []struct { |
| 27 | arg1 string |
| 28 | } |
| 29 | getSummaryReturns struct { |
| 30 | result1 models.Application |
| 31 | result2 error |
| 32 | } |
| 33 | getSummaryReturnsOnCall map[int]struct { |
| 34 | result1 models.Application |
| 35 | result2 error |
| 36 | } |
| 37 | invocations map[string][][]interface{} |
| 38 | invocationsMutex sync.RWMutex |
| 39 | } |
| 40 | |
| 41 | func (fake *FakeAppSummaryRepository) GetSummariesInCurrentSpace() ([]models.Application, error) { |
| 42 | fake.getSummariesInCurrentSpaceMutex.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected