AppointmentModel class can save appointments with the text set to the empty string and date set to null.
STEPS TO REPRODUCE
1. Create an appointment object and set the date to null and its text to the empty string.
2. Save the created object.
3. It can be observed that its added to the database.
Should not allow the creation of such objects since an appointment with no date and empty string has no meaning. An exception should be thrown and the user asked to enter a valid date and text.
SOFTWARE & HARDWARE
Microsoft Windows XP Professional 2002
Java Version 1.7.0
Borg Calendar version 1.7.