public List<Connection> listWithAllConnections() {
        return connectionRepository.findAll();
    }
@Test
    void listWithAllConnections() {
        when(connectionRepositoryMock.findAll()).thenReturn(new ArrayList<>());

        List<Connection> result = connectionServiceMock.listWithAllConnections();

        verify(connectionRepositoryMock, times(1)).findAll();
        assertNotNull(result);
    }