### Question:
BatchTransactionApplierFacade implements BatchTransactionApplier { @Override public void close() throws Exception { for ( int i = appliers.length; i-- > 0; ) { appliers[i].close(); } } BatchTransactionApplierFacade( BatchTransactionApplier... appliers ); @Override TransactionApplier startTx( CommandsToApply transaction ); @Override TransactionApplier startTx( CommandsToApply transaction, LockGroup lockGroup ); @Override void close();  }### Answer:
@Test public void closeShouldBeDoneInReverseOrder() throws Exception { facade.close(); InOrder inOrder = inOrder( applier1, applier2, applier3 ); inOrder.verify( applier3 ).close(); inOrder.verify( applier2 ).close(); inOrder.verify( applier1 ).close(); }