BrokerTemplate template = new BrokerTemplate();
Broker broker = new Broker(ds);
template.setBroker(broker);
assertEquals(broker, template.getBroker());
BrokerDaoSupport testDao = new BrokerDaoSupport() {
};
testDao.setBrokerTemplate(template);
assertEquals(template, testDao.getBrokerTemplate());
testDao.afterPropertiesSet();
dsControl.verify();
}