public void setUp() throws YSchemaBuildingException, YSyntaxException, JDOMException, IOException {
URL fileURL = getClass().getResource("YAWLOrJoinTestSpecification.xml");
File yawlXMLFile = new File(fileURL.getFile());
YSpecification specification = null;
specification = (YSpecification) YMarshal.
unmarshalSpecifications(yawlXMLFile.getAbsolutePath()).get(0);
_net = specification.getRootNet();
fileURL = getClass().getResource("YAWLOrJoinTestSpecification2.xml");
yawlXMLFile = new File(fileURL.getFile());
specification =(YSpecification) YMarshal.
unmarshalSpecifications(yawlXMLFile.getAbsolutePath()).get(0);
_net2 = specification.getRootNet();
fileURL = getClass().getResource("YAWLOrJoinTestSpecificationWithLoop.xml");
yawlXMLFile = new File(fileURL.getFile());
specification =(YSpecification) YMarshal.
unmarshalSpecifications(yawlXMLFile.getAbsolutePath()).get(0);
_net3 = specification.getRootNet();
fileURL = getClass().getResource("YAWLOrJoinTestSpecificationLongLoops.xml");
yawlXMLFile = new File(fileURL.getFile());
specification =(YSpecification) YMarshal.
unmarshalSpecifications(yawlXMLFile.getAbsolutePath()).get(0);
_net4 = specification.getRootNet();
}