xSink.setInputStream(xStream);
XLayer xLayer = (XLayer) UnoRuntime.queryInterface(XLayer.class,
LayerParser);
XLayerHandlerImpl xLayerHandler = new XLayerHandlerImpl();
xLayer.readData(xLayerHandler);
res = xLayerHandler.getCalls().equals(getExpected());
if (!res) {
log.println("#### Getting: ");
log.println(xLayerHandler.getCalls());
log.println("#### Expected: ");
log.println(getExpected());
}
} catch (com.sun.star.configuration.backend.MalformedDataException e) {
log.println("Unexpected Exception " + e);