assertTrue("Inner second generic parameter should be a Double", subnode.getElement().isAssignableFrom(Double.class));
}
private void testSecondGenericParameter(final TypeNodeTester testClass) {
final TypeNode node = testClass.getTypeNode(1);
assertTrue("First generic parameter should be a TreeMap", node.getElement().isAssignableFrom(TreeMap.class));
TypeNode subnode;
subnode = testClass.getTypeNode(node, 0);
assertTrue("Inner first generic parameter should be a String", subnode.getElement().isAssignableFrom(String.class));
subnode = testClass.getTypeNode(node, 1);
assertTrue("Inner second generic parameter should be a LinkedList", subnode.getElement().isAssignableFrom(LinkedList.class));
subnode = testClass.getTypeNode(subnode, 0);
assertTrue("Inner generic parameter should be a List", subnode.getElement().isAssignableFrom(List.class));
subnode = testClass.getTypeNode(subnode, 0);
assertTrue("Inner generic parameter should be a Double", subnode.getElement().isAssignableFrom(Double.class));
}