protected RuleDTO buildContextPathDefaultRuleDTO(final String selectorId, final MetaDataRegisterDTO metaDataDTO, final String ruleHandler) {
        String contextPath = metaDataDTO.getContextPath();
        return buildRuleDTO(selectorId, ruleHandler, contextPath, PathUtils.decoratorPath(contextPath));
    }
@Test
    public void testBuildContextPathDefaultRuleDTO() {
        MetaDataRegisterDTO metaDataRegisterDTO = MetaDataRegisterDTO.builder().build();
        metaDataRegisterDTO.setContextPath("Context_Path");
        RuleDTO ruleDTO = abstractShenyuClientRegisterService.buildContextPathDefaultRuleDTO("Selector_Id", metaDataRegisterDTO, "Rule_Handler");
        assertEquals("Selector_Id", ruleDTO.getSelectorId());
        assertEquals("Context_Path", ruleDTO.getName());
        assertTrue(ruleDTO.getEnabled());
        assertTrue(ruleDTO.getLoged());
        assertEquals(1, ruleDTO.getSort());
        assertEquals("Rule_Handler", ruleDTO.getHandle());
    }