### Question:
SlaveLockManager implements Locks { @Override public void close() { local.close(); } SlaveLockManager( Locks localLocks, RequestContextFactory requestContextFactory, Master master,
            AvailabilityGuard availabilityGuard, LogProvider logProvider, Config config ); @Override Client newClient(); @Override void accept( Visitor visitor ); @Override void close();  }### Answer:
@Test public void shutsDownLocalLocks() { Locks localLocks = mock( Locks.class ); SlaveLockManager slaveLockManager = newSlaveLockManager( localLocks ); slaveLockManager.close(); verify( localLocks ).close(); }