@Test
void noEntriesForEmptyEnum() {

    TrieNode<Enum<?>> enumNode = EnumTrieCreator.create(EmptyEnum.class);
    assertThat(enumNode).isInstanceOf(Branch.class);
    Branch<Enum<?>> node = (Branch<Enum<?>>) enumNode;
    assertThat(node.name).isEqualTo(EmptyEnum.class.getSimpleName());
    assertThat(node.branches).isEmpty();
}