refactoring-code_smells-design_patterns
refactoring-code_smells-design_patterns copied to clipboard
Refactored BookingShould.cs
Description:
Extracted CreateBooking() helper method to remove redundant object instantiation. Allowed passing custom start and end dates for more flexible test cases. Improved maintainability by centralizing booking creation logic. Enhanced test readability by reducing boilerplate setup in each test.
Closes #61