File descriptionFile =
new File(getClass().getClassLoader().getResource("testDescription.transformation").getFile());
List<TransformationDescription> descriptions = TransformationUtils.getDescriptionsFromXMLFile(descriptionFile);
installTransformations(descriptions);
ModelA modelA = new ModelA();
modelA.setIdA("test1");
modelA.setTestA("test2");
modelA.setBlubA("test3");
modelA.setBlaA("test4");
ModelB modelB = new ModelB();
modelB.setIdB("test1");
modelB.setTestB("hello");
modelB.setBlubB("test3#test4");
ModelB resultB = transformModelAToModelB(modelA);
ModelA resultA = transformModelBToModelA(modelB);
assertThat(resultB.getIdB(), is("test1"));
assertThat(resultB.getTestB(), is("test"));
assertThat(resultB.getBlubB(), is("test3#test4"));
assertThat(resultA.getIdA(), is("test1"));
assertThat(resultA.getTestA(), is("world"));
assertThat(resultA.getBlubA(), is("test3"));
assertThat(resultA.getBlaA(), is("test4"));
}