@Test public void testSetListeners() throws Exception { compositeListener.setListeners(Collections .<ItemProcessListener<? super Object, ? super Object>> singletonList(listener)); listener.beforeProcess(null); compositeListener.beforeProcess(null); }