public void setAbandon(boolean abandon) {
        this.abandon = abandon;
    }
@Test
    void testSetAbandon() {
        assertFalse(connection.isAbandon());
        connection.setAbandon(true);
        assertTrue(connection.isAbandon());
    }