geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java
public static void verifySenderPausedState(String senderId) {
    Set<GatewaySender> senders = cache.getGatewaySenders();
    GatewaySender sender = null;
    for (GatewaySender s : senders) {
      if (s.getId().equals(senderId)) {
        sender = s;
        break;
      }
    }
    assertTrue(sender.isPaused());
  }
/**
   * Test methods for sender operations
   * 
   * @param senderId
   */
Test methods for sender operations

@param senderId
Test methods for sender operations @param senderId
public static void verifySenderPausedState(String senderId) {
    Set<GatewaySender> senders = cache.getGatewaySenders();
    GatewaySender sender = null;
    for (GatewaySender s : senders) {
      if (s.getId().equals(senderId)) {
        sender = s;
        break;
      }
    }
    assertTrue(sender.isPaused());
  }
public static void verifySenderPausedState ( String senderId ) { Set < GatewaySender > senders = cache . getGatewaySenders ( ) ; GatewaySender sender = null ; for ( GatewaySender s : senders ) { if ( s . getId ( ) . equals ( senderId ) ) { sender = s ; break ; } } assertTrue ( sender . isPaused ( ) ) ; }
Test methods for sender operations
Test methods for sender operations