### Question:
BlurPropertyParser { String getType(String value) { if (value == null || value.isEmpty()) { return "string"; } if (isNumeric(value)) { return "long"; } if ("true".equals(value) || "false".equals(value)) { return "boolean"; } if (isDouble(value)) { return "double"; } return "string"; }  Map<String, List<BlurProp>> parse();  }### Answer:
@Test public void testDefaultValNull() { assertEquals("string", parser.getType("")); assertEquals("string", parser.getType(null)); }
@Test public void testDefaultValInt() { assertEquals("long", parser.getType(Integer.toString(Integer.MIN_VALUE))); assertEquals("long", parser.getType(Integer.toString(Integer.MAX_VALUE))); }
@Test public void testDefaultValBoolean() { assertEquals("boolean", parser.getType("true")); assertEquals("boolean", parser.getType("false")); }
@Test public void testDefaultValDouble() { assertEquals("double", parser.getType("0.75")); assertEquals("double", parser.getType("-0.75")); }