CannedDataReader.readCannedData(store, directory, baseURLString);
Source source = new SourceImpl("http://example.org/graph-source");
NamedNode config = new NamedNodeImpl("http://example.org/config#");
WebServer webServer = GVSServerLauncher.launchGVSServer(store, serverBinding, null, Collections.singleton(source), config);
URL serverURL = new URL("http://"+serverBinding.getInetAddress().getHostAddress()+":"+serverBinding.getPort()+"/application/test-dir/test-data");
InputStream remoteStream = serverURL.openStream();
InputStream resourceStream = ApplicationServerHandler.class.getResourceAsStream("/META-INF/web/application/test-dir/test-data.txt");
for (int i = resourceStream.read(); i > -1; i = resourceStream.read()) {
assertEquals(i, remoteStream.read());
}
//same with URL-extension