public void EventsMadeFromSetContainKeyGivenToConstructor(string apiKey) { var set = new EventSet(apiKey); var @event = set.NewEvent(); Assert.Equal(apiKey, @event.ApiKey); set.Add(@event); Assert.Equal(1, set.GetEvents().Count); }
public void EventsMadeFromSetContainKeyGivenToConstructor(string apiKey) { var set = new EventSet(apiKey); var @event = set.NewEvent(); Assert.Equal(apiKey, @event.ApiKey); set.Add(@event); Assert.Equal(1, set.GetEvents().Count); }