validateRamlWithComments(topSection, bottomSection);
}
private void validateRamlWithComments(String topSection, String bottomSection)
{
YamlDocumentSuggester yamlDocumentSuggester = new YamlDocumentSuggester(new RamlDocumentBuilder());
List<Suggestion> suggest = yamlDocumentSuggester.suggest(topSection, " ", bottomSection);
assertThat(suggest, notNullValue());
assertThat(suggest.size(), is(RESOURCE_SUGGEST_COUNT));
assertThat(suggest.contains(new KeySuggestion("get")), is(true));
assertThat(suggest.contains(new KeySuggestion("post")), is(true));