@Test
public void structureTreeWithMethodWithParametersShouldBeCreated() throws Exception {
fSnippet = getCompilationUnit("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("Clazz.method(String,int)"));
}