@Test
        void enums() {
            EnumHolderCriteria holder = EnumHolderCriteria.enumHolder;
            oql(holder.value.is(TypeHolder.Foo.ONE)).is("value.name = 'ONE'");
            oql(holder.value.isNot(TypeHolder.Foo.ONE)).is("value.name != 'ONE'");
            oql(holder.value.in(Arrays.asList(TypeHolder.Foo.ONE, TypeHolder.Foo.TWO))).is("value.name IN SET('ONE', 'TWO')");
            oql(holder.value.notIn(Arrays.asList(TypeHolder.Foo.ONE, TypeHolder.Foo.TWO))).is("NOT (value.name IN SET('ONE', 'TWO'))");

            // nullable
            oql(holder.nullable.is(TypeHolder.Foo.ONE)).is("nullable.name = 'ONE'");
            oql(holder.nullable.isNot(TypeHolder.Foo.ONE)).is("nullable.name != 'ONE'");
            oql(holder.nullable.in(Arrays.asList(TypeHolder.Foo.ONE, TypeHolder.Foo.TWO))).is("nullable.name IN SET('ONE', 'TWO')");
            oql(holder.nullable.notIn(Arrays.asList(TypeHolder.Foo.ONE, TypeHolder.Foo.TWO))).is("NOT (nullable.name IN SET('ONE', 'TWO'))");
        }
When not using bind variables enum shouold be converted to {@code enum.name == 'value'}
criteria/geode/test/org/immutables/criteria/geode/GeodeQueryVisitorTest.java