assertSame(pipeline.getType(), op.getOperationType());
assertEquals(source.getID(), op.getSourceId());
assertEquals(target.getID(), op.getTargetId());
assertEquals(Arrays.asList(tf.getID()), op.getFunctionIDs());
pipeline = HostedWebServiceOperationType.TYPE.createNewTemplate();
HostedWebServicePipelineBrowser wsBrowser = new HostedWebServicePipelineBrowser(pipeline);
WebServiceCall ws = new WebServiceCall("WS");
wsBrowser.setWebServiceCall(ws);
wsBrowser.getFirstTransformationActivity().setContent(tf);
op.setPipeline(pipeline);
assertNull(op.getSourceId());
assertNull(op.getTargetId());
assertEquals(ws.getID(), op.getHostedWebServiceId());
assertEquals(Arrays.asList(tf.getID()), op.getFunctionIDs());