assertEquals(r.getMessage(),
"the date for this element SHOULD NOT be blank.");
}
try {
LastBuildDate lastBuildDate = rssDoc.buildLastBuildDate(Calendar
.getInstance().getTime().toString());
assertNotNull(lastBuildDate);
assertNotNull(lastBuildDate.getDateTime());
assertNotNull(lastBuildDate.getText());
SimpleDateFormat sdf = new SimpleDateFormat(
"EEE, dd MMM yyyy HH:mm:ss Z");
assertNotNull(rssDoc.buildLastBuildDate(sdf.format(Calendar
.getInstance().getTime())));