/**
* Test for Test 'size'
*/
public void testSizeIsUnderTrue() {
boolean isTestPassed = false;
SieveMailAdapter mail = null;
int size = 0;
try {
mail = (SieveMailAdapter) JUnitUtils.createMail();
mail.getMessage().setText("Hi!");
mail.getMessage().saveChanges();
// Need to copy the mail to get JavaMail to report the message size
// correctly (saveChanges() only saves the headers!)
mail = (SieveMailAdapter) JUnitUtils.copyMail(mail);
size = mail.getSize();
} catch (SieveMailException e) {
} catch (MessagingException e) {
}
String script = "if size :under " + new Integer(size + 1).toString()