public static String format(Object x) {
		if (x != null) {
			return format(x.toString());
		} else {
			return StrUtil.EMPTY;
		}
	}
@Test
	public void testFormatInteger() {
		// 测试传入整数的情况
		String result = NumberWordFormatter.format(1234);
		assertEquals("ONE THOUSAND TWO HUNDRED AND THIRTY FOUR ONLY", result);

		result = NumberWordFormatter.format(1204);
		assertEquals("ONE THOUSAND TWO HUNDRED AND FOUR ONLY", result);

		result = NumberWordFormatter.format(1004);
		assertEquals("ONE THOUSAND FOUR ONLY", result);
	}