public static boolean isWebdavMethod(String method) {
        return method != null && WEBDAV_METHOD_PATTERN.matcher(method).matches();
    }
@Test
    public void testIsWebdavMethod() {
        for (String method : VALID_METHODS) {
            Assertions.assertTrue(HttpWebdav.isWebdavMethod(method), method + " is a HttpWebdav method");
        }
        for (String method : INVALID_METHODS) {
            Assertions.assertFalse(HttpWebdav.isWebdavMethod(method), method + " is not a HttpWebdav method");
        }
    }