protected static void expect_stream_processor_state_with_failure(IEventHandler event_handler, failing_unpartitioned_state failing_unpartitioned_state) => expect_stream_processor_state(event_handler, false, false, (int)failing_unpartitioned_state.failing_position.Value, failing_unpartitioned_state);
protected static void expect_stream_processor_state(IEventHandler event_handler, bool implicit_filter, bool fast_event_handler, int num_events_to_handle, failing_unpartitioned_state failing_unpartitioned_state) => expect_stream_processor_state( event_handler, implicit_filter: implicit_filter, fast_event_handler: fast_event_handler, partitioned: false, num_events_to_handle: num_events_to_handle, failing_partitioned_state: null, failing_unpartitioned_state: failing_unpartitioned_state);