ChristmasTree { @Override public String toString() { return asciiTree; } ChristmasTree(int nbLine); @Override String toString(); List<ChristmasBranch> getBranches();  }
@Test @Ignore public void shouldHaveOddNumberOfStarsInEachLine() { ChristmasTree tree = new ChristmasTree(3); String asciiTree = tree.toString(); String[] lines = asciiTree.split("[\r\n]"); for (String line : lines) { assertThat(line.length() % 2).isEqualTo(1); } }