@Test
    public void testDurationGson() {
        LocalDateTime start = LocalDateTime.of(2022, 1, 1, 1, 1, 1);
        LocalDateTime end = LocalDateTime.of(2022, 1, 2, 2, 2, 2);
        Duration expectDuration = Duration.between(start, end);
        String testStringDuration = "PT25H1M1S";
        Duration testDuration = GsonUtils.getInstance().fromJson(testStringDuration, Duration.class);
        assertEquals(expectDuration, testDuration);
    }
test method {@link GsonUtils#convertToMap(String)}.
shenyu-common/src/test/java/org/apache/shenyu/common/utils/GsonUtilsTest.java