@Override
    public Xid[] recover(final int flags) throws XAException {
        try {
            return delegate.recover(flags);
        } catch (final XAException ex) {
            throw mapXAException(ex);
        }
    }
@Test
    void assertRecover() throws XAException {
        singleXAResource.recover(1);
        verify(xaResource).recover(1);
    }