use of com.alibaba.dubbo.common.model.SerializablePerson in project dubbo by alibaba.
the class AbstractSerializationTest method test_StringSPersonMap.
@Test
public void test_StringSPersonMap() throws Exception {
Map<String, SerializablePerson> args = new HashMap<String, SerializablePerson>();
args.put("1", new SerializablePerson());
assertObject(args);
}
use of com.alibaba.dubbo.common.model.SerializablePerson in project dubbo by alibaba.
the class AbstractSerializationTest method test_SPersonSet.
@Test
public void test_SPersonSet() throws Exception {
Set<SerializablePerson> args = new HashSet<SerializablePerson>();
args.add(new SerializablePerson());
assertObject(args);
}
use of com.alibaba.dubbo.common.model.SerializablePerson in project dubbo by alibaba.
the class AbstractSerializationTest method test_IntSPersonMap.
@Test
public void test_IntSPersonMap() throws Exception {
Map<Integer, SerializablePerson> args = new HashMap<Integer, SerializablePerson>();
args.put(1, new SerializablePerson());
assertObject(args);
}
use of com.alibaba.dubbo.common.model.SerializablePerson in project dubbo by alibaba.
the class AbstractSerializationTest method test_SPersonListList.
@Test
public void test_SPersonListList() throws Exception {
List<List<SerializablePerson>> args = new ArrayList<List<SerializablePerson>>();
List<SerializablePerson> sublist = new ArrayList<SerializablePerson>();
sublist.add(new SerializablePerson());
args.add(sublist);
assertObject(args);
}
use of com.alibaba.dubbo.common.model.SerializablePerson in project dubbo by alibaba.
the class PojoUtilsTest method test_pojo.
@Test
public void test_pojo() throws Exception {
assertObject(new Person());
assertObject(new SerializablePerson());
}
Aggregations