@Test
public void three_headlines__has_3_result() {

	Collection<AsciiDoctorHeadline> result = parserToTest.parse("= headline1\n== headline2\n= headline3");
	
	assertEquals(3, result.size());
	Iterator<AsciiDoctorHeadline> iterator = result.iterator();
	assertEquals(1,iterator.next().getDeep());
	assertEquals(2,iterator.next().getDeep());
	assertEquals(1,iterator.next().getDeep());
}