@Test
public void shouldThrowWhenCapacityExceeded() throws Exception {

  eventSubject.accept("a");
  eventSubject.accept("b");
  eventSubject.accept("c");
  assertThatThrownBy(() -> eventSubject.accept("noo, too many things"))
      .isInstanceOf(IllegalStateException.class);
}