FrameBuilder b = new SimpleFrameBuilder();
b.enter(operation);
b.enter(new Operation());
Thread.sleep(100);
b.exit();
Frame integrationFrame = b.exit();
Trace trace = Trace.newInstance(app, TraceId.valueOf("0"), integrationFrame);
EndPointAnalysis endPoint = endPointAnalyzer.locateEndPoint(trace);
assertEquals(EndPointName.valueOf("MessageHandler#test"), endPoint.getEndPointName());
assertEquals(integrationFrame.getRange(), trace.getRange());