Search in sources :

Example 1 with MicroserviceClassLoader

use of org.apache.servicecomb.core.definition.classloader.MicroserviceClassLoader in project incubator-servicecomb-java-chassis by apache.

the class TestMicroserviceMeta method classloader.

@Test
public void classloader() {
    ClassLoader loader = new MicroserviceClassLoader("", "", "");
    microserviceMeta.setClassLoader(loader);
    Assert.assertSame(loader, microserviceMeta.getClassLoader());
}
Also used : MicroserviceClassLoader(org.apache.servicecomb.core.definition.classloader.MicroserviceClassLoader) MicroserviceClassLoader(org.apache.servicecomb.core.definition.classloader.MicroserviceClassLoader) Test(org.junit.Test)

Aggregations

MicroserviceClassLoader (org.apache.servicecomb.core.definition.classloader.MicroserviceClassLoader)1 Test (org.junit.Test)1