public static Integer toInt(Object value, Integer defaultValue) {
		return convertQuietly(Integer.class, value, defaultValue);
	}
@Test
	public void toIntTest() {
		final String a = " 34232";
		final Integer aInteger = Convert.toInt(a);
		assertEquals(Integer.valueOf(34232), aInteger);
		final int aInt = ConverterRegistry.getInstance().convert(int.class, a);
		assertEquals(34232, aInt);

		// 带小数测试
		final String b = " 34232.00";
		final Integer bInteger = Convert.toInt(b);
		assertEquals(Integer.valueOf(34232), bInteger);
		final int bInt = ConverterRegistry.getInstance().convert(int.class, b);
		assertEquals(34232, bInt);

		// boolean测试
		final boolean c = true;
		final Integer cInteger = Convert.toInt(c);
		assertEquals(Integer.valueOf(1), cInteger);
		final int cInt = ConverterRegistry.getInstance().convert(int.class, c);
		assertEquals(1, cInt);

		// boolean测试
		final String d = "08";
		final Integer dInteger = Convert.toInt(d);
		assertEquals(Integer.valueOf(8), dInteger);
		final int dInt = ConverterRegistry.getInstance().convert(int.class, d);
		assertEquals(8, dInt);
	}