/**
* Test that setting ldapRef after setting the url results in IllegalStateException.
*/
public void testSetUrlAndLdapRef() {
PersonDirInfo pdi = new PersonDirInfo();
pdi.setUrl("jdbc://someserver:45");
try {
pdi.setLdapRefName("foo");
} catch (IllegalStateException ise) {
// good
return;
}
fail("Should have thrown ISE when trying to set refname on a " +