### Question:
TransactionProcessorComposite implements TransactionProcessor<V, R> { @Override public void execute() { for (TransactionProcessor processor : processors) { processor.execute(); } } TransactionProcessorComposite(ImmutableSet<TransactionProcessor<V, R>> processors); @Override void execute(); @Override boolean isComplete(); @Override ImmutableSet<Exception> getErrors(); @Override Map<V, R> getResults();  }### Answer:
@Test public void testExecute() { processor.execute(); for (TransactionProcessor mockProcessor : mockProcessors) { Mockito.verify(mockProcessor).execute(); } }