import org.apache.tuscany.sca.interfacedef.impl.DataTypeImpl;
import org.junit.Test;
public class JacksonTestCase {
public void testPOJO() throws Exception {
MyBean bean = new MyBean();
bean.setName("Test");
bean.setAge(20);
bean.getNotes().add("1");
bean.getNotes().add("2");
bean.getMap().put("1", 1);
MyInterface service = new MyInterfaceImpl();
service.setId("ID001");
bean.setService(service);
bean.setOtherService(service);
roundTrip(bean);
}