@Test
public void structureTreeWithQualifiedMethodShouldBeCreated() throws Exception {
fSnippet = getQualifiedCompilationUnit("void method(String name, int length) {}");
createStructureTree();
JavaStructureNode methodNode = fRoot.getChildren().get(0).getChildren().get(1);
assertThat(methodNode.getType(), is(Type.METHOD));
assertThat(methodNode.getName(), is("method(String,int)"));
assertThat(methodNode.getFullyQualifiedName(), is("org.foo.Clazz.method(String,int)"));
}