@Test
public void testFactory() {

  Configuration configuration = new Configuration();
  Reductions reductions =
      Reductions.create(
          configuration,
          new StatefulFunctionsUniverse(MessageFactoryType.WITH_KRYO_PAYLOADS),
          new FakeRuntimeContext(),
          new FakeKeyedStateBackend(),
          new FakeTimerServiceFactory(),
          new FakeInternalListState(),
          new HashMap<>(),
          new FakeOutput(),
          TestUtils.ENVELOPE_FACTORY,
          MoreExecutors.directExecutor(),
          new FakeMetricGroup(),
          new FakeMapState(),
          MoreExecutors.directExecutor());
  assertThat(reductions, notNullValue());
}