protected List<Node> findOvercommittedHosts() {
        List<Node> overcommittedNodes = new ArrayList<>();
        for (var entry : availableResources.entrySet()) {
            var resources = entry.getValue().nodeResources;
            if (resources.vcpu() < 0 || resources.memoryGiB() < 0 || resources.diskGb() < 0) {
                overcommittedNodes.add(entry.getKey());
            }
        }
        return overcommittedNodes;
    }
@Test
    public void testOvercommittedHosts() {
        CapacityCheckerTester tester = new CapacityCheckerTester();
        tester.createNodes(7, 4,
               10, new NodeResources(-1, 10, 100, 1), 10,
                0, new NodeResources(1, 10, 100, 1), 10);
        int overcommittedHosts = tester.capacityChecker.findOvercommittedHosts().size();
        assertEquals(tester.nodeRepository.nodes().list().nodeType(NodeType.host).size(), overcommittedHosts);
    }