Exemple #1
0
  @After
  @Override
  public void tearDown() {
    if (endpoint1 != null) {
      endpoint1.stop();
    }

    if (endpoint2 != null) {
      endpoint2.stop();
    }

    if (endpoint3 != null) {
      endpoint3.stop();
    }

    if (endpoint4 != null) {
      endpoint4.stop();
    }

    super.tearDown();
  }