assertThat(params.size(), is(1));
assertThat(params.get(0).getName(), is("param"));
assertThat(params.get(0).getType(), is((Type) int.class));
assertThat(params.get(0).getValue(), is((Object) 5));
Declaration decl = desc.getDeclaration();
assertThat(decl.getAnnotationType(), is((Type) MockOperator.class));
assertThat(decl.getDeclaring().getName(), is("com.example.Concrete"));
assertThat(decl.getImplementing().getName(), is("com.example.ConcreteImpl"));
assertThat(decl.getName(), is("example"));
assertThat(decl.getParameterTypes(), is((Object) Arrays.<Object>asList(
String.class, int.class)));
Graph<String> graph = toGraph(in);
assertThat(graph.getConnected("in"), isJust(desc.getName()));
assertThat(graph.getConnected(desc.getName()), isJust("out"));