@Test public void shouldReturnOneElementWithJustOneNodeIfTheTreeContainsJustOneElement() {

  BinaryNode<Integer> root = new BinaryNode<Integer>(1);
  List<List<BinaryNode>> paths = pathToEveryLeaf.calculate(root);
  assertEquals(1, paths.size());
  assertEquals(1, paths.get(0).get(0).getData());
}