@Override
    public void close() {
        try {
            recoveryManagerService.stop();
            // CHECKSTYLE:OFF
        } catch (final Exception ex) {
            // CHECKSTYLE:ON
            throw new CloseTransactionManagerFailedException(ex);
        }
        recoveryManagerService.destroy();
        cleanPropertiesFactory();
        cleanBeanInstances();
        cleanAtomicActionRecovery();
        cleanXARecoveryModule();
        cleanStoreManager();
    }
@Test
    void assertClose() throws Exception {
        transactionManagerProvider.close();
        verify(recoveryManagerService).stop();
        verify(recoveryManagerService).destroy();
    }