throws InvalidNameException {
log.setMethod("testProperties_IgnoreCaseAndTrimBlank()");
props.put("jndi.syntax.ignorecase", "false");
props.put("jndi.syntax.trimblanks", "false");
CompoundName abcd = new CompoundName("a/b/c/d", props);
props2.put("jndi.syntax.ignorecase", "true");
props2.put("jndi.syntax.trimblanks", "false");
CompoundName abcd_ic = new CompoundName("a/b/c/d", props2);
CompoundName ABCD_ic = new CompoundName("A/B/C/D", props2);
assertTrue(abcd_ic.equals(ABCD_ic));
assertTrue(ABCD_ic.equals(abcd_ic));
assertTrue(abcd_ic.equals(abcd));
assertTrue(abcd.equals(abcd_ic));
assertTrue(ABCD_ic.equals(abcd));
assertFalse(abcd.equals(ABCD_ic));
props2.put("jndi.syntax.ignorecase", "false");
props2.put("jndi.syntax.trimblanks", "true");
CompoundName abcd_tb = new CompoundName("a/b/c/d", props2);
CompoundName _a_b_c_d_tb = new CompoundName(" a / b / c / d ", props2);
assertTrue(abcd_tb.equals(_a_b_c_d_tb));
assertTrue(_a_b_c_d_tb.equals(abcd_tb));
assertTrue(abcd_tb.equals(abcd));
assertTrue(abcd.equals(abcd_tb));
assertFalse(abcd.equals(_a_b_c_d_tb));
assertTrue(_a_b_c_d_tb.equals(abcd));
}