@Test
void check_adds_name() {

    parser.check(Object.class, command, "alias", Label.ALIAS);
    var entry = parser.names.get("alias");
    
    verify(environment, times(0)).error(any(), any());
    verify(environment, times(0)).warn(any(), any());
    
    assertEquals(command, entry.getKey());
    assertEquals(Label.ALIAS, entry.getValue());
}