@Override
    public void close() throws SQLException {
        Portal portal = portalContext.get(packet.getPortal());
        if (portal.getSqlStatement() instanceof CommitStatement || portal.getSqlStatement() instanceof RollbackStatement) {
            portalContext.closeAll();
        }
    }
@Test
    void assertCloseExecutorWhenPortalIsNotAnyTclStatement() throws SQLException {
        when(portal.getSqlStatement()).thenReturn(mock(SQLStatement.class));
        executor.close();
        verify(portalContext, never()).closeAll();
    }