assertEquals(Integer.valueOf(-1), integerConverter.convert(" -1 "));
assertEquals(Integer.valueOf(2147483647), integerConverter.convert(" +2147483647 "));
assertEquals(Integer.valueOf(-2147483648), integerConverter.convert(" -2147483648 "));
try {
assertEquals(Integer.valueOf(1), integerConverter.convert(" 2147483648 "));
fail();
} catch (TypeConversionException ignore) {
}
try {
assertEquals(Integer.valueOf(1), integerConverter.convert(" -2147483649 "));