Search in sources :

Example 1 with PojoImpl

use of org.apache.servicecomb.swagger.invocation.models.PojoImpl in project incubator-servicecomb-java-chassis by apache.

the class TestPojoConsumerEqualProducer method init.

@BeforeClass
public static void init() {
    env = new BootstrapNormal().boot();
    producer = env.createProducer(new PojoImpl());
    consumer = env.createConsumer(PojoConsumerIntf.class, producer.getSwaggerIntf());
    invoker = new LocalProducerInvoker(consumer, producer);
    proxy = invoker.getProxy();
}
Also used : PojoConsumerIntf(org.apache.servicecomb.swagger.invocation.models.PojoConsumerIntf) PojoImpl(org.apache.servicecomb.swagger.invocation.models.PojoImpl) BootstrapNormal(org.apache.servicecomb.swagger.engine.bootstrap.BootstrapNormal) LocalProducerInvoker(org.apache.servicecomb.swagger.engine.unittest.LocalProducerInvoker) BeforeClass(org.junit.BeforeClass)

Aggregations

BootstrapNormal (org.apache.servicecomb.swagger.engine.bootstrap.BootstrapNormal)1 LocalProducerInvoker (org.apache.servicecomb.swagger.engine.unittest.LocalProducerInvoker)1 PojoConsumerIntf (org.apache.servicecomb.swagger.invocation.models.PojoConsumerIntf)1 PojoImpl (org.apache.servicecomb.swagger.invocation.models.PojoImpl)1 BeforeClass (org.junit.BeforeClass)1