try { Double d = NumberUtils.createDouble(""); fail("createDouble(empty) failed"); } catch (NumberFormatException ex) {  }
this.testCreateDoubleFailure(""); this.testCreateDoubleFailure(" "); this.testCreateDoubleFailure("\b\t\n\f\r");  this.testCreateDoubleFailure("\u00A0\uFEFF\u000B\u000C\u001C\u001D\u001E\u001F");
    public void testCreateDouble() {        assertEquals("createDouble(String) failed", new Double("1234.5"), NumberUtils.createDouble("1234.5"));        assertEquals("createDouble(null) failed", null, NumberUtils.createDouble(null));        try {            Double d = NumberUtils.createDouble("");            fail("createDouble(empty) failed");        } catch (NumberFormatException ex) {            // empty        }    }