Пример #1
0
  protected void doTearDown() throws Exception {
    try {
      s1.close();
    } catch (Exception e) {
      // ignore
    }
    try {
      s2.close();
    } catch (Exception e) {
      // ignore
    }

    super.doTearDown();
  }
Пример #2
0
 protected void doSetUp() throws Exception {
   super.doSetUp();
   uri = getInDest().getUri();
   inet = InetAddress.getByName(uri.getHost());
 }