// Load document
Document doc = documentBuilder.parse(classLoader.getResourceAsStream("unmarshal/cut.xml"));
// Unmarshal document
LongneckProcess process = (LongneckProcess) unmarshaller.unmarshal(doc);
Assert.assertTrue((process.getBlocks().get(0) instanceof Cut));
Cut testedCut = (Cut) process.getBlocks().get(0);
Assert.assertEquals(cut.getApplyTo(), testedCut.getApplyTo());
Assert.assertEquals(cut.getValue(), testedCut.getValue());
}