package com.sloshydog.eventuate.inmemory;

import com.sloshydog.eventuate.api.Event;
import com.sloshydog.eventuate.api.EventSpecification;
import com.sloshydog.eventuate.api.EventStore;
import com.sloshydog.eventuate.api.EventStream;

public class InMemoryEventStore implements EventStore {

    @Override
    public void store(Event applicationEvent) {

    }

    @Override
    public EventStream getMatching(EventSpecification eventSpecification) {
        return null;
    }
}

@@ -233,63 +233,205 @@
 m;%0A%0A
-public class InMemoryEventStore implements EventStore %7B
+import java.util.ArrayList;%0Aimport java.util.Iterator;%0Aimport java.util.List;%0A%0Apublic class InMemoryEventStore implements EventStore %7B%0A    private final List%3CEvent%3E events = new ArrayList%3CEvent%3E();
 %0A%0A  
@@ -490,16 +490,53 @@
 vent) %7B%0A
+        events.add(applicationEvent);
 %0A    %7D%0A%0A
@@ -645,11 +645,162 @@
 rn n
-ull
+ew EventStream() %7B%0A            @Override%0A            public Iterator%3CEvent%3E iterator() %7B%0A                return events.iterator();%0A            %7D%0A        %7D
 ;%0A  

Implement the in memory event store so unit test passes.