class TextSplitter {

	public static StringStyle[] splitStringAlgorithm(String text, double width, DrawHandler drawer) {
		return splitStringAndHeightAlgorithm(text, width, drawer).getWrappedLines();
	}

}

class TextSplitterTest {

	private static final DrawHandler dimensionCalculatorDrawHandler;

	@Test
	public void emptyResultIfNotEnoughSpaceForSingleChar() throws Exception {

		StringStyle[] style = TextSplitter.splitStringAlgorithm("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 1.0, dimensionCalculatorDrawHandler);
		assertContentEquals(style, Collections.<String> emptyList());
	}

}