	@Test
	public void testSubscribe() {

		Consumer<String> consumer = stringConsumerMock();
		events.subscribe(TOKEN, consumer);
		events.publish(TOKEN, "hello");
		events.tick();
		Mockito.verify(consumer)
				.accept("hello");
	}