@Test public void shouldReturnJustOneNodeIfTheArrayContainsJustOneElement() {

  Integer[] array = { 1 };
  BinaryNode<Integer> result = sortedArrayToBST.transform(array);
  assertEquals(new Integer(1), result.getData());
}