This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Context and Objective | |
| You are tasked with generating comprehensive unit tests for a use case following the established testing patterns in this codebase. The tests should follow the Arrange-Act-Assert (AAA) pattern, focus on behavioral testing rather than implementation details, and ensure proper separation between unit tests and integration tests. | |
| ## Step 1: Analyze the Use Case | |
| Before writing any tests, thoroughly analyze the use case file: | |
| 1. Read the use case implementation file completely to understand: | |
| - What dependencies it has (repositories, services, clients, buses) |