@Test
public void testGetSubject() throws Exception {

	URI uri = new URI("mailto:infobot@example.com?subject=current-issue");
	String subject = MailTransportUtils.getSubject(uri);
	Assert.assertEquals("Invalid destination", "current-issue", subject);
	uri = new URI("mailto:infobot@example.com");
	subject = MailTransportUtils.getSubject(uri);
	Assert.assertNull("Invalid destination", subject);
}