protected static void expect_stream_processor_state_with_failure(IEventHandler event_handler, failing_partitioned_state failing_partitioned_state) => expect_stream_processor_state_with_failure( event_handler, committed_events.Count, failing_partitioned_state);
protected static void expect_stream_processor_state_with_failure(IEventHandler event_handler, failing_partitioned_state failing_partitioned_state) => expect_stream_processor_state_with_failure(event_handler, scope_events_for_event_types(event_handler_scope, 1).Count(), failing_partitioned_state);
protected static void expect_stream_processor_state_with_failure(IEventHandler event_handler, int num_events_to_handle, failing_partitioned_state failing_partitioned_state) => expect_stream_processor_state(event_handler, false, false, num_events_to_handle, failing_partitioned_state);
protected static void expect_stream_processor_state(IEventHandler event_handler, bool implicit_filter, bool fast_event_handler, int num_events_to_handle, failing_partitioned_state failing_partitioned_state) => expect_stream_processor_state( event_handler, implicit_filter: implicit_filter, fast_event_handler: fast_event_handler, partitioned: true, num_events_to_handle: num_events_to_handle, failing_partitioned_state: failing_partitioned_state, failing_unpartitioned_state: null);