public void testKaraf() throws Exception {
IPath dest = FuseServerTestActivator.getDefault().getStateLocation()
.append(this.fRuntimeType);
KarafMockRuntimeCreationUtil.create3xRuntimeMock(this.fRuntimeType, dest);
ServerBeanLoader l = new ServerBeanLoader(dest.toFile());
ServerBean b = l.getServerBean();
assertTrue(b.getBeanType() == KarafBeanProvider.KARAF_3x);
assertEquals(b.getFullVersion(), TYPE_TO_VERSION.get(this.fRuntimeType));
assertEquals(b.getVersion(),
ServerBeanLoader.getMajorMinorVersion(TYPE_TO_VERSION
.get(this.fRuntimeType)));
}