(outcome: Result<Option<Principal>, Status>)
| 106 | |
| 107 | impl MockAuthenticator { |
| 108 | pub fn returning(outcome: Result<Option<Principal>, Status>) -> Self { |
| 109 | Self { |
| 110 | outcome, |
| 111 | calls: Mutex::new(Vec::new()), |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | pub fn call_count(&self) -> usize { |
| 116 | self.calls.lock().unwrap().len() |
nothing calls this directly
no outgoing calls
no test coverage detected