* @throws Exception
*/
@Test
public void testLoad_Facter1_6() throws Exception {
File pptpFile = new File(TestDataProvider.getTestOutputDir(), "facter-1.6.pptp");
Facter1_6 facter = new Facter1_6();
// Save the TargetEntry as a loadable resource
ResourceSet resourceSet = new ResourceSetImpl();
URI fileURI = URI.createFileURI(pptpFile.getAbsolutePath());
Resource targetResource = resourceSet.createResource(fileURI);
// Add all (optional) plugins
targetResource.getContents().add(facter.asPPTP());
targetResource.save(null);
System.err.println("Target saved to: " + fileURI.toString());
}