@Test(dataProvider = "preOrderTree")
public void testPreOrder(BinaryTreeNode head, List<Integer> expectedResult){

    Traversal traversal = new Traversal();
    assertEquals(traversal.preOrderTraverse(head), expectedResult);
}