public void testMixinAdapter() throws Exception {
TestJsonSerializer tser = new TestJsonSerializer();
CustomModuleWrapper<TestClass> cmw = new CustomModuleWrapper<TestClass>(
tser, null);
sc.addAdapter("Collection Adapter", TestClass.class, cmw);
String adapterSer = sc.ser(new TestClass("mytest"));
assertEquals("failed adapter serialization:",
"{\"n\":\"mytest\",\"p\":\"Config.xml\",\"c\":[]}", adapterSer);
}