@Operation(summary = "Get single connection")
    @GetMapping(value = "{id}", produces = "application/json")
    @ResponseBody
    public Connection getById(@PathVariable("id") Long id) {
        return connectionService.getConnectionById(id);
    }
@Test
    public void getConnectionById() {
        when(connectionServiceMock.getConnectionById(anyLong())).thenReturn(getNewConnection());

        Connection result = controllerMock.getById(anyLong());

        verify(connectionServiceMock, times(1)).getConnectionById(anyLong());
        assertEquals("connection", result.getName());
    }