@Test
public void unsubscribeMain() {

    final PubSub<String> events = new PubSub<>();
    PubSub.Subscriber<String> listener = (msg) -> fail();
    events.subscribeMain(listener);
    events.unsubscribeMain(listener);
    events.post("BASE");
}