Operation httpOp = new Operation().type(OperationType.HTTP);
b.enter(httpOp);
b.enter(grailsOp);
Frame grailsFrame = b.exit();
assertNotNull("No grails frame", grailsFrame);
Frame httpFrame = b.exit();
Trace trace = Trace.newInstance(app, TraceId.valueOf("0"), httpFrame);
assertEndpointAnalysis(trace, grailsFrame, httpFrame);
}
private static EndPointAnalysis assertEndpointAnalysis(Trace trace, Frame grailsFrame, Frame httpFrame) {