assertThat(place.getLineNumber(), is(24));
}
@Test
public void shouldAlways_provideAsteriskTags_whenFiltering_byIncludedTags() throws IOException {
PageSpec pageSpec = pageSpecReader.read(getClass().getResource("/specs/spec-asterisk-tags.spec").getFile());
assertThat("Total amount of sections should be", pageSpec.getSections().size(), is(3));
List<PageSection> filteredSections = pageSpec.findSections(asList("tag2"));
assertThat("Amount of filtered sections should be", filteredSections.size(), is(2));
assertThat("Tag for first filtered section should be", filteredSections.get(0).getTags(), contains("*"));
assertThat("Tag for second filtered section should be", filteredSections.get(1).getTags(), contains("tag2"));
}