public void testNamespaceRuleNormallyWithCustomActionPatternSeparator() {
IBatisNamespaceRule rule = new IBatisNamespaceRule("com.alibaba.cobar.client.entity.Tweet",
"p1, p2");
rule.setActionPatternSeparator(";");
List<String> shards = rule.action();
assertTrue(CollectionUtils.isNotEmpty(shards));
assertEquals(1, shards.size());
rule = new IBatisNamespaceRule("com.alibaba.cobar.client.entity.Tweet", "p1; p2");
rule.setActionPatternSeparator(";");