### Question:
FlowSupport { static int loadPrefetch() { int prefetch = Integer.getInteger(PREFETCH_PROP, DEFAULT_PREFETCH); if (prefetch <= 0) { return DEFAULT_PREFETCH; } return prefetch; } private  FlowSupport(); static IllegalArgumentException illegalRequest(); static int prefetch(); static int prefetchThreshold(); static long getAndAddDemand(Object owner, VarHandle demand, long n); static long subtractAndGetDemand(Object owner, VarHandle demand, long n); static final Flow.Subscription NOOP_SUBSCRIPTION; static final Executor SYNC_EXECUTOR; }### Answer:
@Test void loadPrefetch_canSetPrefetch() { System.setProperty("com.github.mizosoft.methanol.flow.prefetch", "123"); assertEquals(123, FlowSupport.loadPrefetch()); }
@Test void loadPrefetch_usesDefaultOnNonPositiveValue() { System.setProperty("com.github.mizosoft.methanol.flow.prefetch", "0"); assertEquals(16, FlowSupport.loadPrefetch()); }
@Test void loadPrefetch_usesDefaultOnNonIntegerValue() { System.setProperty("com.github.mizosoft.methanol.flow.prefetch", "123.33f"); assertEquals(16, FlowSupport.loadPrefetch()); }