@Test
void shouldGetVariants() {

    EnumGameVariantGenerator<TestEnum> variantGenerator
        = new EnumGameVariantGenerator<>(new TestEnum[]{TestEnum.TEST1, TestEnum.TEST2}, Objects::toString);
    Set<IGameVariant> result = variantGenerator.getVariants();
    ArrayList<String> expected = new ArrayList<>(List.of("TEST1", "TEST2"));
    for (IGameVariant variant : result) {
        assertTrue(expected.contains(variant.getLabel(translator)));
    }
}