@Test
public void testTreeData() {

  CaptureNodeModel rootModel = new JavaMethodModel("A", "com.package.Class");
  TopDownNode topDown = new TopDownNode(newNode(rootModel, 0, 10));
  CaptureNodeModel model = topDown.getMethodModel();
  assertEquals(rootModel, topDown.getMethodModel());
  assertEquals("com.package.Class.A", rootModel.getFullName());
  assertTrue(model instanceof JavaMethodModel);
  assertEquals("com.package.Class", ((JavaMethodModel) model).getClassName());
  assertEquals("A", model.getName());
}