### Question:
FormBodyPart extends MultipartPart { public String getName() { return this.name; } FormBodyPart(final String name, final ContentBody body, final Header header); String getName(); @Override void addField(final String name, final String value);  }### Answer:
@Test public void testConstructorCompat() throws Exception { final File tmp= File.createTempFile("test", "test"); tmp.deleteOnExit(); final FileBody obj = new FileBody(tmp, ContentType.APPLICATION_OCTET_STREAM); Assert.assertEquals(tmp.getName(), obj.getFilename()); }