boolean eosEnabled() {
        return StreamsConfigUtils.eosEnabled(processingMode);
    }
@Test
    public void shouldNotHaveEosEnabledIfEosDisabled() {
        assertThat(nonEosStreamsProducer.eosEnabled(), is(false));
    }