Package org.apache.cxf.endpoint

Examples of org.apache.cxf.endpoint.DummyServer


public class ServerRegistryImpTest extends Assert {
   
    @Test
    public void testServerRegistryPreShutdown() {
        ServerRegistryImpl serverRegistryImpl = new ServerRegistryImpl();       
        Server server = new DummyServer(serverRegistryImpl);
        server.start();
        assertEquals("The serverList should have one service", serverRegistryImpl.serversList.size(), 1);
        serverRegistryImpl.preShutdown();
        assertEquals("The serverList should be clear ", serverRegistryImpl.serversList.size(), 0);
        serverRegistryImpl.postShutdown();
        assertEquals("The serverList should be clear ", serverRegistryImpl.serversList.size(), 0);
View Full Code Here

TOP

Related Classes of org.apache.cxf.endpoint.DummyServer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.