public int getInteger(HazelcastProperty property) {
        return Integer.parseInt(getString(property));
    }
@Test
    public void testGet_whenFunctionAvailable_andPropertySet() {
        Properties props = new Properties();
        props.setProperty("key", "1");
        HazelcastProperty p = new HazelcastProperty("key", (Function<HazelcastProperties, Integer>) properties -> 23);
        HazelcastProperties properties = new HazelcastProperties(props);
        assertEquals(1, properties.getInteger(p));
    }