public void setUp() throws Exception {
engine = new TestSpyTransformer(agentInstance.getSymbolRegistry(),
agentInstance.getTracer(), agentInstance.getRetransformer());
submitter = new TestSubmitter();
MainSubmitter.setSubmitter(submitter);
traceBuilder = new TestTraceBuilder();
tracerObj = new Tracer(agentInstance.getTracerMatcherSet(),
agentInstance.getSymbolRegistry()) {
public TraceBuilder getHandler() {
return traceBuilder;
}