Create a mock that returns a successful reasoning.
(reasoning: TurnReasoning)
| 419 | impl MockGenerator { |
| 420 | /// Create a mock that returns a successful reasoning. |
| 421 | pub fn success(reasoning: TurnReasoning) -> Self { |
| 422 | Self { |
| 423 | result: Ok(reasoning), |
| 424 | } |
| 425 | } |
| 426 | |
| 427 | /// Create a mock that returns an error. |
| 428 | pub fn failure(message: &str) -> Self { |
no outgoing calls