Task
Generate unit test cases for the function {Function Name}.
Context
Language: {Language}. Framework: {Framework}. Function Logic: {Logic Description}.
Requirements
Cover happy path scenarios (expected input). Include edge cases (null, empty, limits). Test for error handling and exceptions. Provide code snippets for the tests.
Output Format
Happy Path Tests
Edge Case Tests
Error Handling Tests
Code Snippets
Notes
Ensure high code coverage. Follow best practices for naming conventions.
Keep In Touch