ProcessManagerWrapper implements ProcessManager<R> { @Override public Map<UUID, List<LongRunningProcessStatus>> ping(Map<UUID, List<UUID>> procIds) { return delegate.ping(procIds); } ProcessManagerWrapper(ProcessManager<T> delegate); @Override Map<UUID, List<UUID>> start(List<R> specifications); @Override Map<UUID, List<LongRunningProcessStatus>> ping(Map<UUID, List<UUID>> procIds); @Override Map<UUID, List<LongRunningProcessStatus>> stop(Map<UUID, List<UUID>> procIds, boolean clear); @Override Map<UUID, List<LongRunningProcessStatus>> clear(Map<UUID, List<UUID>> procIds);  }
@Test public void testPing() { Map<UUID, List<UUID>> procIds = Collections.emptyMap(); wrapper.ping(procIds); verify(delegate).ping(eq(procIds)); }