assertThat(sectionObjects.get(0).getObjectName(), is("textfield"));
}
@Test
public void shouldParse_conditionalSpecBlocks_withOrStatement() throws Exception {
PageSpec pageSpec = pageSpecReader.read(getClass().getResource("/specs/spec-conditional-or.spec").getFile());
List<PageSection> sections = pageSpec.getSections();
assertThat(sections.size(), is(1));
PageSection pageSection = sections.get(0);
List<ConditionalBlock> blocks = pageSection.getConditionalBlocks();
assertThat(blocks.size(), is(1));