public static LotteryNumbers create(Set<Integer> givenNumbers) {
    return new LotteryNumbers(givenNumbers);
  }
@Test
  void testEquals() {
    var numbers1 = LotteryNumbers.create(Set.of(1, 2, 3, 4));
    var numbers2 = LotteryNumbers.create(Set.of(1, 2, 3, 4));
    assertEquals(numbers1, numbers2);
    var numbers3 = LotteryNumbers.create(Set.of(11, 12, 13, 14));
    assertNotEquals(numbers1, numbers3);
  }