LambdaRecordWindow implements RecordWindow { @Override public boolean inWindow(MRecord record) { return inWindowLambda.apply(record); } LambdaRecordWindow(
            SerializableFunction<MRecord, Boolean> inWindowLambda,
            SerializableResultFunction<ArrayList<String>> getChannelIdentifiers
    ); @Override boolean inWindow(MRecord record); @Override Collection<String> getChannelIdentifiers();  }
@Test public void inWindow() { assertTrue(window.inWindow(mock(MRecord.class))); assertTrue(clone.inWindow(mock(MRecord.class))); }