@Operation(summary = "list", description = "List hosts")
    @GetMapping
    public ResponseEntity<List<HostVO>> list(@PathVariable Long clusterId) {
        return ResponseEntity.success(hostService.list(clusterId));
    }
@Test
    void listReturnsEmptyForInvalidClusterId() {
        Long clusterId = 999L;
        when(hostService.list(clusterId)).thenReturn(List.of());

        ResponseEntity<List<HostVO>> response = hostController.list(clusterId);

        assertTrue(response.isSuccess());
        assertTrue(response.getData().isEmpty());
    }