test_class.declarator: translator
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Translator translator;
test_class.type: Translator
test_class.var_name: translator
test_class.file: gazeplay-games-commons/src/test/java/net/gazeplay/commons/gamevariants/generators/SquareDimensionVariantGeneratorTest.java
test_class.identifier: SquareDimensionVariantGeneratorTest
test_case.body: @Test
      void shouldGetVariants() {
          SquareDimensionVariantGenerator variantGenerator
              = new SquareDimensionVariantGenerator(1, 3);
  
          Set<IGameVariant> result = variantGenerator.getVariants();
          ArrayList<String> expected = new ArrayList<>(List.of("1x1", "2x2", "3x3"));
  
          for (IGameVariant variant : result) {
              assertTrue(expected.contains(variant.getLabel(translator)));
          }
      }
test_case.class_method_signature: SquareDimensionVariantGeneratorTest.shouldGetVariants()
test_case.full_signature: @Test void shouldGetVariants()
test_case.identifier: shouldGetVariants
test_case.invocations: getVariants of assertTrue contains getLabel
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldGetVariants()
focal_class.declarator: minSize
focal_class.modifier: private final
focal_class.original_string: private final int minSize;
focal_class.type: int
focal_class.var_name: minSize
focal_class.declarator: maxSize
focal_class.modifier: private final
focal_class.original_string: private final int maxSize;
focal_class.type: int
focal_class.var_name: maxSize
focal_class.declarator: variantChooseText = "Choose size"
focal_class.modifier: @Getter
      @Setter
      private
focal_class.original_string: @Getter
      @Setter
      private String variantChooseText = "Choose size";
focal_class.type: String
focal_class.var_name: variantChooseText
focal_class.file: gazeplay-games-commons/src/main/java/net/gazeplay/commons/gamevariants/generators/SquareDimensionVariantGenerator.java
focal_class.identifier: SquareDimensionVariantGenerator
focal_class.interfaces: implements IGameVariantGenerator
focal_class.class_method_signature: SquareDimensionVariantGenerator.SquareDimensionVariantGenerator(final int minSize, final int maxSize)
focal_class.full_signature: public  SquareDimensionVariantGenerator(final int minSize, final int maxSize)
focal_class.identifier: SquareDimensionVariantGenerator
focal_class.modifiers: public
focal_class.parameters: (final int minSize, final int maxSize)
focal_class.signature:  SquareDimensionVariantGenerator(final int minSize, final int maxSize)
focal_class.class_method_signature: SquareDimensionVariantGenerator.getVariants()
focal_class.full_signature: @Override public Set<IGameVariant> getVariants()
focal_class.identifier: getVariants
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<IGameVariant>
focal_class.signature: Set<IGameVariant> getVariants()
focal_method.body: @Override
      public Set<IGameVariant> getVariants() {
          final Set<IGameVariant> result = Sets.newLinkedHashSet();
          for (int i = minSize; i <= maxSize; i++) {
              result.add(new DimensionGameVariant(i, i));
          }
          return result;
      }
focal_method.class_method_signature: SquareDimensionVariantGenerator.getVariants()
focal_method.full_signature: @Override public Set<IGameVariant> getVariants()
focal_method.identifier: getVariants
focal_method.invocations: newLinkedHashSet add
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Set<IGameVariant>
focal_method.signature: Set<IGameVariant> getVariants()