public Connection deleteConnectionById(Connection connection) {
        connectionRepository.delete(connection);
        return connection;
    }
@Test
    void deleteConnectionById() {
        doNothing().when(connectionRepositoryMock).delete(any(Connection.class));

        Connection result = connectionServiceMock.deleteConnectionById(new Connection());

        verify(connectionRepositoryMock, times(1)).delete(any(Connection.class));
        assertNotNull(result);
    }