@Test
void list() {

    initNodes();
    final String subPath = "";
    final FetchNodeStatusResponse expectedResponse = getTestNodes().stream()
            .map(testNode -> {
                Node node2 = new Node();
                node2.setEnabled(testNode.isEnabled());
                node2.setName(testNode.getNodeName());
                return new NodeStatusResult(node2, testNode.getNodeName().equals("node1"));
            })
            .collect(FetchNodeStatusResponse.collector(FetchNodeStatusResponse::new));
    doGetTest(
            subPath,
            FetchNodeStatusResponse.class,
            expectedResponse);
}