We can't easily construct a full GraphTxnT mock here, but we can test the is_visible logic directly.
| 635 | // We can't easily construct a full GraphTxnT mock here, but we can |
| 636 | // test the is_visible logic directly. |
| 637 | struct DummyTxn; |
| 638 | |
| 639 | let vg: ViewGraph<'_, DummyTxn> = ViewGraph { |
| 640 | inner: &DummyTxn, |
no outgoing calls