### Question:
ScriptEngineContainer { public Instrumenter createInstrumenter() throws EngineException { final List<Instrumenter> instrumenters = new ArrayList<Instrumenter>(); for (ScriptEngineService service : m_container.getComponents(ScriptEngineService.class)) { for (Instrumenter instrumenter : service.createInstrumenters()) { instrumenters.add(instrumenter); } } return new MasterInstrumenter(instrumenters); } ScriptEngineContainer(GrinderProperties properties,
                               Logger logger,
                               DCRContext dcrContext,
                               ScriptLocation scriptLocation); ScriptEngine getScriptEngine(ScriptLocation script); Instrumenter createInstrumenter();  }### Answer:
@Test public void testStandardInstrumentationNoDCR() throws Exception { final ScriptEngineContainer container = new ScriptEngineContainer(m_properties, m_logger, null, m_pyScript); final Instrumenter instrumenter = container.createInstrumenter(); assertEquals("NO INSTRUMENTER COULD BE LOADED", instrumenter.getDescription()); }
@Test public void testStandardInstrumentationDCR() throws Exception { final ScriptEngineContainer container = new ScriptEngineContainer(m_properties, m_logger, m_dcrContext, m_pyScript); final Instrumenter instrumenter = container.createInstrumenter(); assertEquals("byte code transforming instrumenter for Jython 2.5; " + "byte code transforming instrumenter for Java", instrumenter.getDescription()); }