@Override
  public void tearDown() throws Exception {

    // if (log.isInfoEnabled())
    log.warn("tearing down test: " + getName());

    if (m_fixture != null) {

      m_fixture.stop();

      m_fixture = null;
    }

    if (m_indexManager != null && namespace != null) {

      dropTripleStore(m_indexManager, namespace);

      m_indexManager = null;
    }

    namespace = null;

    m_rootURL = null;
    m_serviceURL = null;

    m_repo.close();

    m_client.stop();

    log.info("tear down done");

    super.tearDown();
  }
  /**
   * {@inheritDoc}
   *
   * <p>Note: The {@link LexiconKeyBuilder} will wind up configured with the default {@link Locale}
   * unless that gets overridden by {@link #getProperties()}
   */
  protected void setUp() throws Exception {

    super.setUp();

    final IKeyBuilderFactory keyBuilderFactory = new DefaultKeyBuilderFactory(getProperties());

    final IKeyBuilder keyBuilder = keyBuilderFactory.getKeyBuilder();

    fixture = new LexiconKeyBuilder(keyBuilder);
  }
  protected void tearDown() throws Exception {

    service.shutdownNow();

    super.tearDown();
  }
  protected void tearDown() throws Exception {

    fixture = null;

    super.tearDown();
  }