C# 클래스 CQRS.Tests.CQRS.EventSourcing.EventStoreSessionTests

상속: NoSqlTest
파일 보기 프로젝트 열기: mlidbom/Composable.Monolithic

공개 메소드들

메소드 설명
EventStoreSessionTests ( ) : System

보호된 메소드들

메소드 설명
CreateStore ( ) : IEventStore
OpenSession ( IEventStore store ) : IEventStoreSession

비공개 메소드들

메소드 설명
AggregateCannotBeRetreivedAfterBeingDeleted ( ) : void
CanLoadSpecificVersionOfAggregate ( ) : void
CanSaveAndLoadAggregate ( ) : void
Concurrent_read_only_access_to_aggregate_history_can_occur_in_paralell ( ) : void
DeletingAnAggregateDoesNotPreventEventsForItFromBeingRaised ( ) : void
DoesNotExplodeWhenSavingMoreThan10Events ( ) : void
DoesNotUpdateAggregatesLoadedViaSpecificVersion ( ) : void
EventsAreDeletedWhenNotAUnitOfWorkParticipant ( ) : void
EventsAreDeletedWhenUnitOfWorkIsCommitted ( ) : void
EventsArePublishedOnSaveChangesAndThisInteractsWithUnitOfWorkParticipations ( ) : void
ResetsAggregatesAfterSaveChanges ( ) : void
ReturnsSameInstanceOnLoadAfterSave ( ) : void
ReturnsSameInstanceOnRepeatedLoads ( ) : void
ThrowsIfUsedByMultipleThreads ( ) : void
ThrowsWhenAttemptingToSaveExistingAggregate ( ) : void
TracksAndUpdatesLoadedAggregates ( ) : void
WhenFetchingAggregateThatDoesNotExistNoSuchAggregateExceptionIsThrown ( ) : void
When_deleting_and_then_fetching_an_aggregates_history_the_history_should_be_gone ( ) : void
When_fetching_and_deleting_an_aggregate_then_fetching_history_again_the_history_should_be_gone ( ) : void
When_fetching_history_from_the_same_instance_after_updating_an_aggregate_the_fetched_history_includes_the_new_events ( ) : void

메소드 상세

CreateStore() 보호된 추상적인 메소드

protected abstract CreateStore ( ) : IEventStore
리턴 IEventStore

EventStoreSessionTests() 공개 메소드

public EventStoreSessionTests ( ) : System
리턴 System

OpenSession() 보호된 메소드

protected OpenSession ( IEventStore store ) : IEventStoreSession
store IEventStore
리턴 IEventStoreSession