GatewaySenderMBeanBridge { public void start() { sender.start(); } GatewaySenderMBeanBridge(GatewaySender sender); void setDispatcher(); void addGatewaySenderStats(GatewaySenderStats gatewaySenderStats); void addOverflowStatistics(Statistics statistics); void stopMonitor(); int getAlertThreshold(); int getBatchSize(); long getBatchTimeInterval(); String getOverflowDiskStoreName(); String[] getGatewayEventFilters(); String[] getGatewayTransportFilters(); int getMaximumQueueMemory(); int getRemoteDSId(); String getSenderId(); int getSocketBufferSize(); long getSocketReadTimeout(); boolean isBatchConflationEnabled(); boolean isManualStart(); boolean isPaused(); boolean isPersistenceEnabled(); boolean isRunning(); void pause(); void resume(); void start(); void startWithCleanQueue(); void stop(); void rebalance(); boolean isPrimary(); int getDispatcherThreads(); String getOrderPolicy(); boolean isDiskSynchronous(); boolean isParallel(); boolean mustGroupTransactionEvents(); int getTotalBatchesRedistributed(); int getTotalEventsConflated(); int getEventQueueSize(); float getEventsQueuedRate(); float getEventsReceivedRate(); float getBatchesDispatchedRate(); long getAverageDistributionTimePerBatch(); float getLRUEvictionsRate(); long getEntriesOverflowedToDisk(); long getBytesOverflowedToDisk(); String getGatewayReceiver(); boolean isConnected(); int getEventsExceedingAlertThreshold();  }
@Test public void testStart() { bridge.start(); verify(gatewaySender).start(); }