fakeView is a minimal CommandView for unit-testing selectors.
| 11 | |
| 12 | // fakeView is a minimal CommandView for unit-testing selectors. |
| 13 | type fakeView struct { |
| 14 | path string |
| 15 | domain string |
| 16 | risk string |
| 17 | riskOK bool |
| 18 | identities []string |
| 19 | } |
| 20 | |
| 21 | func (v fakeView) Path() string { return v.path } |
| 22 | func (v fakeView) Domain() string { return v.domain } |
nothing calls this directly
no outgoing calls
no test coverage detected