public static <T> T loadObject(String content, Class<T> type) {
        return new Yaml(new YamlParserConstructor(), new CustomRepresenter()).loadAs(content, type);
    }
@Test
    void testNotSupportType() {
        assertThrows(ConstructorException.class, () -> {
            YamlParserUtil.loadObject("name: test", YamlTest.class);
        });
    }