public void testContentTypeStringParameters() throws Exception {
Map<String, String> parameters = new HashMap<String, String>();
parameters.put("boundary",
"-=Part.0.37877968dd4f6595.11eccf0271c.2dce5678cbc933d5=-");
ContentTypeField field = Fields.contentType("multipart/mixed",
parameters);
assertTrue(field.isValidField());
String expectedRaw = "Content-Type: multipart/mixed;\r\n "
+ "boundary=\"-=Part.0.37877968dd4f6595.11eccf0271c"
+ ".2dce5678cbc933d5=-\"";
assertEquals(expectedRaw, decode(field));