| 52 | } |
| 53 | |
| 54 | type mockTarget struct { |
| 55 | JoinRequestFunc func(context.Context, *interop.JoinReq) (*interop.JoinAns, error) |
| 56 | AppSKeyRequestFunc func(context.Context, *interop.AppSKeyReq) (*interop.AppSKeyAns, error) |
| 57 | HomeNSRequestFunc func(context.Context, *interop.HomeNSReq) (*interop.TTIHomeNSAns, error) |
| 58 | } |
| 59 | |
| 60 | func (m mockTarget) JoinRequest(ctx context.Context, req *interop.JoinReq) (*interop.JoinAns, error) { |
| 61 | if m.JoinRequestFunc != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected