CounterStore { public ReadOnlyIntegerProperty counter() { return counter.getReadOnlyProperty(); } CounterStore(EventStream<Action> eventStream); ReadOnlyIntegerProperty counter();  }
@Test public void test() { assertThat(store.counter()).hasValue(0); actionStream.push(new IncreaseAction(1)); assertThat(store.counter()).hasValue(1); }