@Test public void testDefaultNaming() throws Exception { GroupProxy proxy = AndHowUtil.buildGroupProxy(SimpleParams.class); PropertyNaming naming = bns.buildNames(SimpleParams.Bob, proxy); assertEquals(groupFullPath + ".Bob", naming.getCanonicalName().getActualName()); assertEquals(groupFullPath.toUpperCase() + ".BOB", naming.getCanonicalName().getEffectiveInName()); assertEquals(2, naming.getInAliases().size()); assertEquals("Mark", naming.getInAliases().get(0).getActualName()); assertEquals("MARK", naming.getInAliases().get(0).getEffectiveInName()); assertEquals("Kathy", naming.getInAliases().get(1).getActualName()); assertEquals("KATHY", naming.getInAliases().get(1).getEffectiveInName()); assertEquals(1, naming.getOutAliases().size()); assertEquals("Kathy", naming.getOutAliases().get(0).getActualName()); assertEquals("Kathy", naming.getOutAliases().get(0).getEffectiveOutName()); }
@Override public PropertyNaming buildNames(Property prop, GroupProxy parentGroup) throws Exception { String canonName = parentGroup.getCanonicalName(prop); return buildNamesFromCanonical(prop, parentGroup, canonName); }
CaseInsensitiveNaming implements NamingStrategy { @Override public PropertyNaming buildNames(Property prop, GroupProxy parentGroup) throws Exception { String canonName = parentGroup.getCanonicalName(prop); return buildNamesFromCanonical(prop, parentGroup, canonName); } }
CaseInsensitiveNaming implements NamingStrategy { @Override public PropertyNaming buildNames(Property prop, GroupProxy parentGroup) throws Exception { String canonName = parentGroup.getCanonicalName(prop); return buildNamesFromCanonical(prop, parentGroup, canonName); }  }
CaseInsensitiveNaming implements NamingStrategy { @Override public PropertyNaming buildNames(Property prop, GroupProxy parentGroup) throws Exception { String canonName = parentGroup.getCanonicalName(prop); return buildNamesFromCanonical(prop, parentGroup, canonName); }  @Override PropertyNaming buildNames(Property prop, 
			GroupProxy parentGroup); PropertyNaming buildNamesFromCanonical(Property prop, 
			GroupProxy parentGroup, String canonicalName); @Override String toEffectiveName(String name); @Override String getNameMatchingDescription(); }
CaseInsensitiveNaming implements NamingStrategy { @Override public PropertyNaming buildNames(Property prop, GroupProxy parentGroup) throws Exception { String canonName = parentGroup.getCanonicalName(prop); return buildNamesFromCanonical(prop, parentGroup, canonName); }  @Override PropertyNaming buildNames(Property prop, 
			GroupProxy parentGroup); PropertyNaming buildNamesFromCanonical(Property prop, 
			GroupProxy parentGroup, String canonicalName); @Override String toEffectiveName(String name); @Override String getNameMatchingDescription();  }