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

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