public GroupScenarios(EmbeddedEventStoreFixture fixture) { var settings = new JsonSerializerSettings(); var prefix = fixture.NextStreamNamePrefix(); var converter = StreamNameConversions.WithPrefix(prefix); _runner = new ScenarioRunner( new CommandHandlerInvoker(new CommandHandlerModule[] { new GroupModule( new GroupRepository(fixture.Connection, new EventSourceReaderConfiguration( converter, () => new StreamEventsSliceTranslator( name => Type.GetType(name, true), settings), new SliceSize(100)), new EventSourceWriterConfiguration( converter, new EventSourceChangesetTranslator( type => type.FullName, settings)))) }), fixture.Connection, settings, prefix); }
public when_events_are_published(EmbeddedEventStoreFixture fixture) : base(fixture.Connection) { }
public when_using_mock_repository(EmbeddedEventStoreFixture fixture) { _repos.Add(new MockEventStoreRepository()); _repos.Add(new GetEventStoreRepository("UnitTest", fixture.Connection)); }
public when_toggling_logging_from_disabled(EmbeddedEventStoreFixture fixture) : base(fixture.Connection) { }
public GetEventStoreRepositoryIntegrationTests(EmbeddedEventStoreFixture fixture) { _connection = fixture.Connection; _repo = new GetEventStoreRepository("UnitTest", _connection); }
public when_logging_disabled_and_commands_are_fired(EmbeddedEventStoreFixture fixture) : base(fixture.Connection) { }
public when_commands_are_fired(EmbeddedEventStoreFixture fixture) : base(fixture.Connection) { }
public when_logging_high_volume_message_traffic(EmbeddedEventStoreFixture fixture) : base(fixture.Connection) { }
public when_logging_disabled_and_events_are_published(EmbeddedEventStoreFixture fixture) : base(fixture.Connection) { }
public when_mixed_messages_are_published(EmbeddedEventStoreFixture fixture) : base(fixture.Connection) { }