assertThat(errors.get(1).getLine() + 1, is(2));
assertThat(errors.get(1).getStartColumn() + 1, is(1));
assertThat(errors.get(1).getEndColumn() + 1, is(12));
ContextPath contextPath = errors.get(1).getIncludeContext();
assertThat(contextPath.size(), is(2));
IncludeInfo includeInfo = contextPath.pop();
assertThat(includeInfo.getLine() + 1, is(7));
assertThat(includeInfo.getStartColumn() + 1, is(14));
assertThat(includeInfo.getEndColumn() + 1, is(47));
assertThat(includeInfo.getIncludeName(), is(includedResource1));
assertThat(contextPath.size(), is(1));
assertThat(errors.get(2).getMessage(), containsString("Unknown key: invalidKey2"));
assertThat(errors.get(2).getIncludeName(), is(includedResource2));
assertThat(errors.get(2).getLine() + 1, is(3));
assertThat(errors.get(2).getStartColumn() + 1, is(1));
assertThat(errors.get(2).getEndColumn() + 1, is(12));
contextPath = errors.get(2).getIncludeContext();
assertThat(contextPath.size(), is(3));
includeInfo = contextPath.pop();
assertThat(includeInfo.getLine() + 1, is(3));
assertThat(includeInfo.getStartColumn() + 1, is(6));
assertThat(includeInfo.getEndColumn() + 1, is(41));
assertThat(includeInfo.getIncludeName(), is(includedResource2));
includeInfo = contextPath.pop();
assertThat(includeInfo.getLine() + 1, is(7));
assertThat(includeInfo.getStartColumn() + 1, is(14));
assertThat(includeInfo.getEndColumn() + 1, is(47));
assertThat(includeInfo.getIncludeName(), is(includedResource1));
assertThat(contextPath.size(), is(1));
}