public Node pop() {
        return nodes.poll();
    }
@Test
    void require_SearcherNodes_ordered_by_insertion_order() {
        int priority = 0;
        ComponentNode a = new ComponentNode<>(createFakeComponentB("1"), priority++);
        ComponentNode b = new ComponentNode<>(createFakeComponentA("2"), priority++);
        ComponentNode c = new ComponentNode<>(createFakeComponentA("03"), priority++);

        addNodes(a, b, c);

        assertEquals(a, pop());
        assertEquals(b, pop());
        assertEquals(c, pop());
    }