()
| 44 | /// otherwise it will panic. |
| 45 | #[cfg(not(test))] |
| 46 | pub fn get() -> Self { |
| 47 | let caller = caller(); |
| 48 | |
| 49 | Self { |
| 50 | caller, |
| 51 | user: USER_REPOSITORY.find_by_identity(&caller), |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | #[cfg(test)] |
| 56 | pub fn get() -> Self { |
nothing calls this directly
no test coverage detected