/**
  * Test method for {@link
  * org.powertac.common.spring.SpringApplicationContext#getBeanByType(java.lang.Class)}.
  */
 @Test
 public void testGetBeanByType() {
   BrokerRepo repo = SpringApplicationContext.getBeanByType(BrokerRepo.class);
   assertNotNull("found the repo", repo);
 }
 @Test
 public void testMapBeansOfType() {
   Map<String, DomainRepo> repos = SpringApplicationContext.mapBeansOfType(DomainRepo.class);
   assertEquals("7 repos", 7, repos.size());
   assertTrue("type match", repos.get("brokerRepo") instanceof BrokerRepo);
 }
 /**
  * Test method for {@link
  * org.powertac.common.spring.SpringApplicationContext#getBean(java.lang.String)}.
  */
 @Test
 public void testGetBean() {
   BrokerRepo repo = (BrokerRepo) SpringApplicationContext.getBean("brokerRepo");
   assertNotNull("found the repo", repo);
 }