# Class: EventBusCollector

## vertx-unit-js/event_bus_collector~ EventBusCollector

#### new EventBusCollector()

  The event bus collector listen to events on the Vert.x event bus and translate them into reports.
  Source:
    - event_bus_collector.js, line 34

### Methods

#### register(address) → {MessageConsumer}

  Register the collector as a consumer of the event bus with the specified address.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `address` | string | the registration address

  Source:
    - event_bus_collector.js, line 46

  ##### Returns:

  the subscribed message consumer
  Type
    MessageConsumer