public void has_event_type() { var mapping = new AggregateStorage <Quest>(); mapping.HasEventType(typeof(MembersJoined)).ShouldBeFalse(); mapping.AddEvent(typeof(MembersJoined)); mapping.HasEventType(typeof(MembersJoined)).ShouldBeTrue(); }
public AggregateStorageTests() { _storage = CreateNewAggregateStorage(); }