*/
public class GenericConnectionManagerGBeanSerializationTest extends TestCase {
public void testSerialization() throws Exception {
Kernel kernel = new BasicKernel("test");
kernel.boot();
AbstractName abstractName = new AbstractName(URI.create("foo/bar/1/car?name=ConnectionManager"));
GBeanData data = new GBeanData(abstractName, GenericConnectionManagerGBean.GBEAN_INFO);
data.setAttribute("transactionSupport", NoTransactions.INSTANCE);
data.setAttribute("pooling", new SinglePool(10, 0, 5000, 5, false, false, true));
kernel.loadGBean(data, this.getClass().getClassLoader());