use of org.apache.geode.management.internal.beans.GatewaySenderMBeanBridge in project geode by apache.
the class GatewayMBeanBridgeJUnitTest method init.
public void init() {
senderStats = new GatewaySenderStats(system, "test");
sender = Mockito.mock(AbstractGatewaySender.class);
Mockito.when(sender.getStatistics()).thenReturn(senderStats);
bridge = new GatewaySenderMBeanBridge(sender);
bridge.addGatewaySenderStats(senderStats);
}
Aggregations