@Test
public void validateIntegerRangeNoLowerBound() throws Exception {

    ResourceModel intRes = createResourceModel(Type.INTEGER, "[-0]");
    assertFalse(intRes.isValid("hi"));
    assertTrue(intRes.isValid(0));
    assertTrue(intRes.isValid(-1));
    assertTrue(intRes.isValid(Integer.MIN_VALUE));
    assertFalse(intRes.isValid("1"));
}