new String[] {"services-aop.xml"});
AService service = (AService)context.getBean("AService");
assertEquals(2*100, service.echoMethodA(100));
//check that the call is traced
IProducerRegistryAPI registryAPI = new ProducerRegistryAPIFactory().createProducerRegistryAPI();
IStatsProducer<ServiceStats> producerB = registryAPI.getProducer("BServiceImpl");
assertEquals(1, producerB.getStats().get(0).getTotalRequests());
IStatsProducer<ServiceStats> producerC = registryAPI.getProducer("CServiceImpl");
assertEquals(1, producerC.getStats().get(0).getTotalRequests());