IPath dest = FuseServerTestActivator.getDefault()
.getStateLocation().append(fRuntimeType);
ServiceMixMockRuntimeCreationUtil.create4xRuntimeMock(
fRuntimeType, dest);
ServiceMixRuntimeLocator locator = new ServiceMixRuntimeLocator();
MockListener listener = new MockListener();
locator.searchForRuntimes(dest,
listener, new NullProgressMonitor());
assertTrue(listener.getFoundRuntime() != null);
}