public void typeDeclarationWithMultipleSuperInterfacesShouldBeConverted() throws Exception {
fSnippet = "class Bar implements Number, Serializable {}";
prepareCompilation();
convertClass("Bar");
assertThat(getTreeString(), is("Bar { ,, { Number,Serializable } }"));
Node superInterfaces = getLastChild();
assertThat(getSource(superInterfaces), is("Number, Serializable"));
assertThat(superInterfaces.getLabel(), is(JavaEntityType.SUPER_INTERFACE_TYPES));
Node firstSuperInterface = (Node) superInterfaces.getFirstLeaf();
assertThat(getSource(firstSuperInterface), is("Number"));
assertThat(firstSuperInterface.getLabel(), is(JavaEntityType.SINGLE_TYPE));
Node secondSuperInterface = (Node) firstSuperInterface.getNextSibling();
assertThat(getSource(secondSuperInterface), is("Serializable"));
assertThat(secondSuperInterface.getLabel(), is(JavaEntityType.SINGLE_TYPE));
}