@Before public void setUp() { Bootstrap.initDatabase(); try { FenixFramework.getTransactionManager().begin(false); } catch (WriteOnReadError | NotSupportedException | SystemException e1) { e1.printStackTrace(); } LdoD ldod = LdoD.getInstance(); fragInter = (new ArrayList<>(ldod.getFragment("Fr001").getFragmentInterSet())).get(0); properties = new ArrayList<Property>(); inters = new ArrayList<>(ldod.getFragment("Fr001").getFragmentInterSet()); properties.add(new EditionProperty()); properties.add(new ManuscriptProperty()); properties.add(new TypescriptProperty()); properties.add(new PrintedProperty()); properties.add(new HeteronymProperty()); properties.add(new DateProperty()); properties.add(new TextProperty()); treshold = .8; recomender = new VSMFragInterRecommender(); time = System.currentTimeMillis(); }