Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 1st, 2011  |  syntax: Java  |  size: 0.30 KB  |  views: 47  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.    @Test
  2.    public void shouldNotMatchAChildsChildrenOnQuery()
  3.    {
  4.       Node root = new Node(ROOT_NAME)
  5.             .createChild(CHILD_1_NAME)
  6.                .createChild(CHILD_2_NAME).getRoot();
  7.  
  8.       System.out.println(root.toString(true));
  9.       Assert.assertNull(root.get(CHILD_2_NAME));
  10.    }
clone this paste RAW Paste Data