You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Mockito tests alongside lambda-based notifier test
- Keep lambda-based test as a simple delegation example
- Add Mockito mocks for interaction verification
- Verify no interactions on invalid input
- Capture and assert notification arguments
- Add input validation to NotificationService
Add parameterized tests for UserRecord validation
- Validate name, email and age using parameterized tests
- Cover multiple invalid combinations with CsvSource
- Align tests with stricter email validation rules
Add User domain model with encapsulation and identity
- Implement immutable User with validation
- Add email normalization and validation
- Define equality based on email
- Implement hashCode and toString
- Add comprehensive unit tests