template.setJcdAlias("alias1");
assertEquals("alias1", template.getJcdAlias());
assertEquals("alias1", template.getPbKey().getAlias());
template = new PersistenceBrokerTemplate();
template.setPbKey(new PBKey("alias2", "user2", "password2"));
assertEquals("alias2", template.getJcdAlias());
assertEquals("alias2", template.getPbKey().getAlias());
assertEquals("user2", template.getPbKey().getUser());
assertEquals("password2", template.getPbKey().getPassword());
}