@Test
void testDoGetProcessNodes() {

    Object response = tested.doGetProcessNodes(PROCESS_ID);
    verify(processes).processById(PROCESS_ID);
    verify(process).process();
    verify(wp).getNodesRecursively();
    assertThat(response).isInstanceOf(List.class).asList().hasSize(1).element(0)
            .hasFieldOrPropertyWithValue("id", node.getId())
            .hasFieldOrPropertyWithValue("name", node.getName())
            .hasFieldOrPropertyWithValue("uniqueId", node.getUniqueId())
            .hasFieldOrPropertyWithValue("nodeDefinitionId", NODE_UNIQUE_ID)
            .hasFieldOrPropertyWithValue("type", node.getClass().getSimpleName());
}