'L{LimitedHistoryLogObserver} saves history in the order it is received.'

def test_order(self):

    size = 4
    events = [dict(n=n) for n in range((size // 2))]
    observer = LimitedHistoryLogObserver(size)
    for event in events:
        observer(event)
    outEvents = []
    observer.replayTo(outEvents.append)
    self.assertEqual(events, outEvents)
