@Test
void addChild_bukkit_contains_name() {

    var command = new DispatcherCommand("a", null, null, null, List.of("a1"));
    command.setLabel("label");
    
    when(map.register(literal)).thenReturn(command);
    
    root.addChild(literal);
    
    assertNull(root.getChild("a"));
    assertNotNull(root.getChild("test:a"));
    assertNotNull(root.getChild("a1"));
    assertNotNull(root.getChild("test:a1"));
}