public static String from(Path path) {
        return from(path.toString());
    }
@Test
    void testUnknownContentType() {
        assertThatThrownBy(() -> ContentType.from(Path.of("un.known"))).isInstanceOf(IllegalArgumentException.class);
    }