@Test
void update() {

    var player = mock(CraftPlayer.class);
    when(craftserver.getOnlinePlayers()).thenReturn(List.of(player));
    
    dispatcher.getRoot().addChild(Literal.of("a").build());
    
    dispatcher.update();
    
    
    assertNotNull(dispatcher.dispatcher.getRoot().getChild("a"));
    verify(player).updateCommands();
}