assertThat(dump, not(containsString("minimum: 2.0")));
}
private Raml verifyDump(Raml source, String dump)
{
RamlDocumentBuilder verifier = new RamlDocumentBuilder();
Raml target = verifier.build(dump, "");
assertThat(target.getTitle(), is(source.getTitle()));
assertThat(target.getVersion(), is(source.getVersion()));
assertThat(target.getBaseUri(), is(source.getBaseUri()));
assertThat(target.getBaseUriParameters().size(), is(source.getBaseUriParameters().size()));