@Test
public void parseBuildTest() throws Exception {

    EbtsParser parser = new EbtsParser();
    File file = new File(ClassLoader.getSystemResource("EFT/S001-01-t10_01.eft").toURI());
    Ebts ebts = parser.parse(file);
    EbtsBuilder builder = new EbtsBuilder(1);
    File tmpFile = File.createTempFile("test", ".eft");
    tmpFile.deleteOnExit();
    try {
        Files.write(builder.build(ebts), tmpFile);
    } finally {
        tmpFile.delete();
    }
}