use of com.newrelic.agent.extension.ExtensionService in project newrelic-java-agent by newrelic.
the class PointCutConfigTest method startUp.
@Before
public void startUp() {
MockServiceManager serviceManager = new MockServiceManager();
ServiceFactory.setServiceManager(serviceManager);
MockCoreService agent = new MockCoreService();
serviceManager.setCoreService(agent);
ConfigService configService = ConfigServiceFactory.createConfigService(AgentConfigImpl.createAgentConfig(new HashMap()), new HashMap());
serviceManager.setConfigService(configService);
ExtensionService service = new ExtensionService(configService, ExtensionsLoadedListener.NOOP);
serviceManager.setExtensionService(service);
TracerService tService = new TracerService();
serviceManager.setTracerService(tService);
}
Aggregations