use of com.alipay.sofa.isle.stage.ModelCreatingStage in project sofa-boot by alipay.
the class ModelCreatingStageTest method test.
@Test
public void test() throws Exception {
applicationContext.getBean("modelCreatingStage", ModelCreatingStage.class).process();
ApplicationRuntimeModel application = applicationContext.getBean(SofaBootConstants.APPLICATION, ApplicationRuntimeModel.class);
Assert.assertNotNull(application.getSofaRuntimeContext());
}
use of com.alipay.sofa.isle.stage.ModelCreatingStage in project sofa-boot by sofastack.
the class ModelCreatingStageTest method test.
@Test
public void test() throws Exception {
applicationContext.getBean("modelCreatingStage", ModelCreatingStage.class).process();
ApplicationRuntimeModel application = applicationContext.getBean(SofaBootConstants.APPLICATION, ApplicationRuntimeModel.class);
Assert.assertNotNull(application.getSofaRuntimeContext());
}
Aggregations