@Test public void runsTestSuccessfully_andExlcudesSpecifiedTags() throws IOException {
TestValidationListener validationListener = new TestValidationListener();
WebDriver driver = new FirefoxDriver();
GalenPageActionCheck action = new GalenPageActionCheck()
.withIncludedTags(asList("mobile"))
.withExcludedTags(asList("debug"))
.withSpecs(asList("/html/page-exclusion.spec"));
Browser browser = new SeleniumBrowser(driver);
browser.load(TEST_URL);
browser.changeWindowSize(new Dimension(400, 800));
action.execute(new TestReport(), browser, new GalenPageTest(), validationListener);
driver.quit();
assertThat("Invokations should be", validationListener.getInvokations(), is("<o header>\n" +
"<SpecHeight header>\n" +
"<e><msg>\"header\" height is 140px which is not in range of 150 to 170px</msg></e>\n" +