EmptyEventStore implements EventStore { @Override public void append(Event event) { }  @Override void append(Event event); @Override void appendAll(Iterable<Event> events); @Override void read(EventStreamQuery request, StreamObserver<Event> responseObserver); @Override boolean isOpen(); @Override void registerWith(BoundedContext context); @Override boolean isRegistered(); @Override void close();  }
@Test @DisplayName("do nothing on append(Event)") void notAppend() { EventStore store = new EmptyEventStore(); store.append(Event.getDefaultInstance()); assertEmpty(store); }