@Test
void parse_class() {

    parser.parse(Set.of(CommandParserTest.class));
    
    var mapping = environment.mappings;
    
    var commands = (Map<String, Object>) mapping.get("commands");
    var command = (Map<String, Object>) commands.get("name");
    
    verify(environment, times(0)).error(any(), any());
    verify(environment, times(0)).warn(any(), any());
    
    assertEquals(1, mapping.size());
    assertEquals(1, commands.size());
    
    assertEquals(5, command.size());
    assertArrayEquals(new String[] {"a", "b"}, (String[]) command.get("aliases"));
    assertEquals("desc", command.get("description"));
    assertEquals("syntax", command.get("usage"));
    assertEquals("a.b", command.get("permission"));
    assertEquals("message", command.get("permission-message"));
}