EndPointAnalysis analysis = analyzer.makeEndPoint(createMockOperationWrapperFrame(op), depth);
assertNotNull("No analysis", analysis);
assertSame("Mismatched source operation", op, analysis.getSourceOperation());
NamedPropertySource props = JmxInvocationEndPointAnalyzer.toPropertySource(op);
EndPointName name = analysis.getEndPointName();
assertEquals("Mismatched endpoint",
PropertiesUtil.format(analyzer.getSettingFormat(JmxInvocationEndPointAnalyzer.ENDPOINT_FORMAT), props),
name.getName());
assertEquals("Mismatched label",
PropertiesUtil.format(analyzer.getSettingFormat(JmxInvocationEndPointAnalyzer.LABEL_FORMAT), props),
analysis.getResourceLabel());
assertEquals("Mismatched example",
PropertiesUtil.format(analyzer.getSettingFormat(JmxInvocationEndPointAnalyzer.EXAMPLE_FORMAT), props),