## providers.testing.InMemEventPublisher

<span id="hexkit.providers.testing.InMemEventPublisher"></span>


An in-memory EventPublisher for testing purposes.


Usage

``` python
providers.testing.InMemEventPublisher(event_store=None)
```


Please note, this only works when publisher and consumers are running in the same thread. Not suitable for inter-thread or inter-process communication.


## Methods

| Name | Description |
|----|----|
| [__init__()](#__init__) | Initialize with existing event_store or let it create a new one. |

<span id="__init__"></span>

<span id="hexkit.providers.testing.InMemEventPublisher.__init__"></span>


#### \_\_init\_\_()


Initialize with existing event_store or let it create a new one.


Usage

``` python
__init__(event_store=None)
```
