Task Programming
Task Programming
This
includes testing the following methods:
• checkBookingCode(String code)
• checkPasswordComplexity(String password)
Requirements:
o Test valid booking codes (e.g., "Event_123") and ensure the method returns true.
▪ Exceed 12 characters.
o Test valid passwords (e.g., "Password1@") and ensure the method returns true.
o Ensure it returns the correct messages based on valid and invalid booking codes
and passwords: