public void testGetSubject() throws Exception {
MessageImpl m = new MessageImpl();
assertNull(m.getSubject());
String subject = "testing 1 2";
Header header = new HeaderImpl();
header.setField(DefaultFieldParser.parse("Subject: " + subject));
m.setHeader(header);
assertEquals(subject, m.getSubject());
header.setField(DefaultFieldParser.parse("Subject: =?windows-1252?Q?99_=80?="));
assertEquals("99 \u20ac", m.getSubject());
}