@Test
public void severalWordsSplitIntoDistinctLines() throws Exception {

	StringStyle[] style = TextSplitter.splitStringAlgorithm("test test2 test3 test4", 50.0, dimensionCalculatorDrawHandler);
	assertContentEquals(style, Arrays.asList("test", "test2", "test3", "test4"));
}