public void Load_by_constructor_and_initial_state_should_be_the_same_as_loading_be_LoadEvents_and_initial_state()
        {
            var loadedByConstructor = new EventSourcedEntity <TestState, string>(testEvents.Take(1), new TestState().Apply(testEvents[1]));

            var loadedByLoadEvents = new EventSourcedEntity <TestState, string>(Enumerable.Empty <IEvent>());

            loadedByLoadEvents.AsIEventSourcedEntity().LoadEvents(testEvents.Take(1), new TestState().Apply(testEvents[1]));

            loadedByLoadEvents.Should().Be(loadedByConstructor);
        }
        public void Load_by_constructor_should_be_the_same_as_loading_be_LoadEvents()
        {
            var loadedByConstructor = new EventSourcedEntity <TestState, string>(testEvents);

            var loadedByLoadEvents = new EventSourcedEntity <TestState, string>(Enumerable.Empty <IEvent>());

            loadedByLoadEvents.AsIEventSourcedEntity().LoadEvents(testEvents);

            loadedByLoadEvents.Should().Be(loadedByConstructor);
        }