* This tests that Integration Operations can be rendered via the FreeMarker
* template.
*/
@Test
public void testLocalViewWithStatus() throws Exception {
SourceCodeLocation scl = new SourceCodeLocation("MyClass", "methodName", 45);
Message<String> message = new GenericMessage<String>("TestMessage");
String beanName = "testChannel";
String beanType = "Channel";
Operation operation = new Operation()
.type(getOperationType())
.sourceCodeLocation(scl)
.label(beanName + "#" + scl.getMethodName() + "()")
.put("siComponentType", beanType)
.put("beanName", beanName)
.put("payloadType", "java.lang.String")
.put("idHeader", message.getHeaders().getId().toString());