public Node pop() {
        return nodes.poll();
    }
@Test
    void require_NameProviders_before_SearcherNodes() {
        NameProvider nameProvider = createDummyNameProvider(100);
        ComponentNode componentNode = new ComponentNode<>(createFakeComponentA("a"), 1);

        addNodes(nameProvider, componentNode);

        assertEquals(nameProvider, pop());
        assertEquals(componentNode, pop());
    }