}
@Test
public void testSerializationOptimization_DisabledOnZeroSerializerThreads() {
final DisruptorConfiguration configuration = new DisruptorConfiguration();
final Serializer serializer = mock(Serializer.class);
configuration.setSerializer(serializer);
configuration.setSerializerThreadCount(0);
EventBus mockEventBus = mock(EventBus.class);
EventStore mockEventStore = mock(EventStore.class);
testSubject = new DisruptorCommandBus(mockEventStore, mockEventBus, configuration);