| 9 | ) |
| 10 | |
| 11 | type FakeRouteRepository struct { |
| 12 | BindStub func(string, string) error |
| 13 | bindMutex sync.RWMutex |
| 14 | bindArgsForCall []struct { |
| 15 | arg1 string |
| 16 | arg2 string |
| 17 | } |
| 18 | bindReturns struct { |
| 19 | result1 error |
| 20 | } |
| 21 | bindReturnsOnCall map[int]struct { |
| 22 | result1 error |
| 23 | } |
| 24 | CheckIfExistsStub func(string, models.DomainFields, string) (bool, error) |
| 25 | checkIfExistsMutex sync.RWMutex |
| 26 | checkIfExistsArgsForCall []struct { |
| 27 | arg1 string |
| 28 | arg2 models.DomainFields |
| 29 | arg3 string |
| 30 | } |
| 31 | checkIfExistsReturns struct { |
| 32 | result1 bool |
| 33 | result2 error |
| 34 | } |
| 35 | checkIfExistsReturnsOnCall map[int]struct { |
| 36 | result1 bool |
| 37 | result2 error |
| 38 | } |
| 39 | CreateStub func(string, models.DomainFields, string, int, bool) (models.Route, error) |
| 40 | createMutex sync.RWMutex |
| 41 | createArgsForCall []struct { |
| 42 | arg1 string |
| 43 | arg2 models.DomainFields |
| 44 | arg3 string |
| 45 | arg4 int |
| 46 | arg5 bool |
| 47 | } |
| 48 | createReturns struct { |
| 49 | result1 models.Route |
| 50 | result2 error |
| 51 | } |
| 52 | createReturnsOnCall map[int]struct { |
| 53 | result1 models.Route |
| 54 | result2 error |
| 55 | } |
| 56 | CreateInSpaceStub func(string, string, string, string, int, bool) (models.Route, error) |
| 57 | createInSpaceMutex sync.RWMutex |
| 58 | createInSpaceArgsForCall []struct { |
| 59 | arg1 string |
| 60 | arg2 string |
| 61 | arg3 string |
| 62 | arg4 string |
| 63 | arg5 int |
| 64 | arg6 bool |
| 65 | } |
| 66 | createInSpaceReturns struct { |
| 67 | result1 models.Route |
| 68 | result2 error |
nothing calls this directly
no outgoing calls
no test coverage detected