### Question:
StatementLocksFactorySwitcher extends AbstractComponentSwitcher<StatementLocksFactory> { @Override protected StatementLocksFactory getSlaveImpl() { return new SlaveStatementLocksFactory( configuredStatementLocksFactory ); } StatementLocksFactorySwitcher( DelegateInvocationHandler<StatementLocksFactory> delegate,
            StatementLocksFactory configuredStatementLocksFactory );   }### Answer:
@Test public void slaveStatementLocks() { StatementLocksFactorySwitcher switcher = getLocksSwitcher(); StatementLocksFactory slaveLocks = switcher.getSlaveImpl(); assertThat( slaveLocks, instanceOf( SlaveStatementLocksFactory.class ) ); }