String bottomSection = "schemas:\n" +
" - user: one\n" +
"traits:\n" +
"baseUri: http://localhost/api";
YamlDocumentSuggester yamlDocumentSuggester = new YamlDocumentSuggester(new RamlDocumentBuilder());
List<Suggestion> suggest = yamlDocumentSuggester.suggest(topSection, "", bottomSection);
assertThat(suggest.size(), is(ROOT_SUGGEST_COUNT - 4));
assertThat(suggest.contains(new KeySuggestion("title")), is(false));
assertThat(suggest.contains(new KeySuggestion("schemas")), is(false));