public RepeatRegistrationException(String message) {
        super(message);
    }
@Test
    void testRepeatRegistrationException() {
        assertAll(
                () -> assertThrowsExactly(RepeatRegistrationException.class, () -> {
                    throw new RepeatRegistrationException("error");
                }),
                () -> assertThrowsExactly(RepeatRegistrationException.class, () -> {
                    throw new RepeatRegistrationException("error", new Throwable("error"));
                }),
                () -> assertThrowsExactly(RepeatRegistrationException.class, () -> {
                    throw new RepeatRegistrationException(new Throwable("error"));
                })
        );
    }