()
| 160 | |
| 161 | #[test] |
| 162 | fn test_dispatch_result_new() { |
| 163 | let result = DispatchResult::new("sess-1", Phase::Idle); |
| 164 | assert_eq!(result.session_id, "sess-1"); |
| 165 | assert_eq!(result.new_phase, Phase::Idle); |
| 166 | assert!(!result.was_recorded()); |
| 167 | assert!(result.message.is_none()); |
| 168 | assert!(result.warnings.is_empty()); |
| 169 | } |
| 170 | |
| 171 | #[test] |
| 172 | fn test_dispatch_result_with_message() { |
nothing calls this directly
no outgoing calls
no test coverage detected