/**
   * Test default house keeping tasks
   *
   * @throws Exception
   */
  public void testDefaultHouseKeepingTasks() throws Exception {
    // Start the broker now.
    super.createBroker();

    VirtualHost vhost =
        ApplicationRegistry.getInstance().getVirtualHostRegistry().getVirtualHost(getName());

    assertEquals("Default houseKeeping task count incorrect.", 2, vhost.getHouseKeepingTaskCount());

    // Currently the two are tasks:
    // ExpiredMessageTask from VirtualHost
    // UpdateTask from the QMF ManagementExchange
  }