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

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