@Override
    public Number parse(final String value) {
        try {
            return Integer.parseInt(value);
        } catch (final NumberFormatException ignored) {
        }
        try {
            return Long.parseLong(value);
        } catch (final NumberFormatException ignored) {
        }
        return new BigDecimal(value);
    }
@Test
    void assertParseWithInt() {
        assertThat(new PostgreSQLNumericValueParser().parse("1"), is(1));
    }