String data = new String(msg.getData());
String content = (String)msg.getMimeMessage().getContent();
assertTrue(content.contains("<value>abc</value>"));
assertTrue(data.contains("Content-Type: text/html;charset=UTF-8"));
System.out.println("data = " + data);
assertEquals(Arrays.<Object>asList(new Value("abc")), Commands.list);
}
};
support.doTest();
}