Table table = mf1.addTable("doc");
table.setSchemaPaths(Arrays.asList("../../x.xsd"));
table.setResourcePath("/a/b/doc.xmi");
HashMap<String, Resource> resources = new HashMap<String, Resource>();
resources.put("/x.xsd", new Resource(Mockito.mock(VirtualFile.class), true));
CompositeMetadataStore cms = new CompositeMetadataStore(Arrays.asList(mf.getMetadataStore(), mf1.getMetadataStore()));
VDBMetaData vdb = new VDBMetaData();
vdb.setName("vdb");