@Before
    public void setUp() throws Exception {

        ApplicationConfig serverApplacation = new ApplicationConfig();
        serverApplacation.setAppName("server");
        ProviderConfig providerConfig = new ProviderConfig<DemoService>()
            .setInterfaceId(DemoService.class.getName())
            .setRef(new DemoServiceImpl())
            .setBootstrap("dubbo")
            .setParameter("version", "1.0.1")
            .setRegister(false).setApplication(serverApplacation);

        dubboProviderBootstrap = new DubboProviderBootstrap(providerConfig);
    }
@author <a href=mailto:taobaorun@gmail.com>taobaorun</a>
bootstrap/bootstrap-dubbo/src/test/java/com/alipay/sofa/rpc/bootstrap/dubbo/DubboProviderBootstrapTest.java