### Question:
RemitSyncExecutor implements Handler.Callback { void removePostWithIds(int[] ids) { for (int id : ids) { handler.removeMessages(id); } } RemitSyncExecutor(@NonNull RemitAgent agent);   RemitSyncExecutor(@NonNull RemitAgent agent, @Nullable Handler handler,
                      @NonNull Set<Integer> freeToDBIdList); void postSyncInfoDelay(int id, long delayMillis); void postSync(int id); void postSync(List<Integer> idList); void postRemoveInfo(int id); void postRemoveFreeIds(List<Integer> idList); void postRemoveFreeId(int id); boolean handleMessage(Message msg);  }### Answer:
@Test public void removePostWithIds() { final int[] ids = new int[3]; ids[0] = 1; ids[1] = 2; ids[2] = 3; executor.removePostWithIds(ids); verify(handler).removeMessages(eq(1)); verify(handler).removeMessages(eq(2)); verify(handler).removeMessages(eq(3)); }