@Test
public void cyclicImportsAreNotAllowed() throws IOException {

    assertThatThrownBy(() -> ConjureParser.parse(new File("src/test/resources/example-recursive-imports.yml")))
            .isInstanceOf(ConjureParser.CyclicImportException.class);
}