TestValidationListener validationListener = new TestValidationListener();
List<PageSection> pageSections = pageSpec.findSections(asList("mobile"));
assertThat("Filtered sections size should be", pageSections.size(), is(2));
SectionValidation sectionValidation = new SectionValidation(pageSections, new PageValidation(null, page, pageSpec, validationListener, null), validationListener);
List<ValidationError> errors = sectionValidation.check();
assertThat("Invokations should", validationListener.getInvokations(), is("<o header>\n" +
"<SpecHeight header>\n" +
"<e><msg>\"header\" height is 140px which is not in range of 150 to 185px</msg></e>\n" +
"</o header>\n" +