@Test(expected = RuntimeException.class)
public void testLoad_throwsOnEnumWithoutValues() {

  String input = String.join("\n", "domain: 'test'", "enums:", "    name: 'fooEnum'");
  loader.load(toStream(input));
}