    @Ignore
    @Test
    public void testProcess() throws Exception {

        JpaProcessor processor = new JpaProcessor();
        Map<PersistentUnit, List<? extends AnnotationMirror>> units = new HashMap<>();
        PersistentUnit pu = getTestPersitentUnit();
        units.put(pu, Collections.emptyList());
        URL url = this.getClass().getResource("/expected_persistence.xml");
        byte[] encoded = Files.readAllBytes(new File(url.toURI()).toPath());
        String expected = new String(encoded, Charset.forName("utf-8"));
        StringWriter writer = new StringWriter();
        processor.process(writer, units);
        Assert.assertEquals(expected, writer.getBuffer().toString());
    }