Package com.gemstone.gemfire.cache.wan

Examples of com.gemstone.gemfire.cache.wan.GatewayTransportFilter


  @Test
  public void testDoInit() throws Exception {
    Cache mockCache = mock(Cache.class, "testDoInit.Cache");
    GatewayReceiverFactory mockGatewayReceiverFactory = mock(GatewayReceiverFactory.class, "testDoInit.GatewayReceiverFactory");
    GatewayTransportFilter mockGatewayTransportFilter = mock(GatewayTransportFilter.class, "testDoInit.GatewayTransportFilter");

    when(mockCache.createGatewayReceiverFactory()).thenReturn(mockGatewayReceiverFactory);

    GatewayReceiverFactoryBean factoryBean = new GatewayReceiverFactoryBean(mockCache);
View Full Code Here

TOP

Related Classes of com.gemstone.gemfire.cache.wan.GatewayTransportFilter

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.