@Test
public void test1()
{

	AnnotatedString in_string = AnnotatedString.read(new Scanner(CheckSubsectionsTest.class.getResourceAsStream("data/test-subsec-1.tex")));
	Rule r = new CheckSubsections();
	List<Advice> ad_list = r.evaluate(in_string, in_string);
	assertEquals(1, ad_list.size());
	Advice ad = ad_list.get(0);
	assertEquals(2, ad.getRange().getStart().getLine());
}