C# Класс CQRS.Tests.CQRS.EventSourcing.EventStoreSessionTests

Наследование: NoSqlTest
Показать файл Открыть проект

Открытые методы

Метод Описание
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