### Question:
DeferringStatementLocks implements StatementLocks { @Override public void stop() { implicit.stop(); } DeferringStatementLocks( Locks.Client explicit ); @Override Locks.Client pessimistic(); @Override Locks.Client optimistic(); @Override void prepareForCommit( LockTracer lockTracer ); @Override void stop(); @Override void close(); @Override Stream<ActiveLock> activeLocks(); @Override long activeLockCount();  }### Answer:
@Test public void shouldStopUnderlyingClient() { final Locks.Client client = mock( Locks.Client.class ); final DeferringStatementLocks statementLocks = new DeferringStatementLocks( client ); statementLocks.stop(); verify( client ).stop(); }