public static Name of(String value) {
        return new Name(value);
    }
@Test
    void testNames() {
        Name.of("name123-_-");
        Name.of("O".repeat(64));

        assertThrows(IllegalArgumentException.class, () -> Name.of("0"));
        assertThrows(IllegalArgumentException.class, () -> Name.of("_"));
        assertThrows(IllegalArgumentException.class, () -> Name.of("-"));
        assertThrows(IllegalArgumentException.class, () -> Name.of("foo."));
        assertThrows(IllegalArgumentException.class, () -> Name.of("foo/"));
        assertThrows(IllegalArgumentException.class, () -> Name.of("foo%"));
        assertThrows(IllegalArgumentException.class, () -> Name.of("w".repeat(65)));
    }