Source<CharSequence> op = (Source<CharSequence>) access(example, "out");
MockOut<CharSequence> out = new MockOut<CharSequence>(CharSequence.class, "out");
out.add(op);
FlowElementOutput port = op.toOutputPort();
FlowElement element = port.getOwner();
OperatorDescription desc = (OperatorDescription) element.getDescription();
List<Parameter> params = desc.getParameters();
assertThat(params.size(), is(1));
assertThat(params.get(0).getName(), is("param"));
assertThat(params.get(0).getType(), is((Type) int.class));