Search in sources :

Example 6 with EmptyObject

use of org.apache.servicecomb.demo.EmptyObject in project incubator-servicecomb-java-chassis by apache.

the class TestObject method testEmptyObject_rest.

private void testEmptyObject_rest() {
    EmptyObject result = intf.testEmpty(new EmptyObject());
    TestMgr.check(EmptyObject.class, result.getClass());
    result = restTemplate.postForObject(prefix + "/emptyObject", new EmptyObject(), EmptyObject.class);
    TestMgr.check(EmptyObject.class, result.getClass());
}
Also used : EmptyObject(org.apache.servicecomb.demo.EmptyObject)

Aggregations

EmptyObject (org.apache.servicecomb.demo.EmptyObject)6 ArrayList (java.util.ArrayList)2 LinkedHashMap (java.util.LinkedHashMap)2 List (java.util.List)2 Map (java.util.Map)2 Holder (org.apache.servicecomb.foundation.common.Holder)2