@Test
public void postorderTraversalTest(){

	TreeSearch<Integer> treeSearch = new TreeSearch<Integer>();
	
	Integer value = 5;
	String expectedSearchPath = "8->4->5";
	treeSearch.postorderTraversal(root, value);
	Assert.assertTrue(expectedSearchPath.equals(treeSearch.searchPath.toString()));
	
	treeSearch = new TreeSearch<Integer>();
	
	value = 6;
	expectedSearchPath = "8->4->5->2->6";
	treeSearch.postorderTraversal(root, value);
	Assert.assertTrue(expectedSearchPath.equals(treeSearch.searchPath.toString()));
}