public static boolean isValidNumber(Number number) {
		if (null == number) {
			return false;
		}
		if (number instanceof Double) {
			return (false == ((Double) number).isInfinite()) && (false == ((Double) number).isNaN());
		} else if (number instanceof Float) {
			return (false == ((Float) number).isInfinite()) && (false == ((Float) number).isNaN());
		}
		return true;
	}
@Test
	public void isValidNumberTest() {
		boolean validNumber = NumberUtil.isValidNumber(1);
        assertTrue(validNumber);
	}