public String toString(String name) {
        return toString(name, "");
    }
@Test
    public void testToString_String() {
        System.out.println("toString");
        String expResult;
        String result;

        Properties props = new Properties();
        props.put("value1", "sTr1");
        props.put("value2", "str_2");
        props.put("empty", "");
        props.put("str", "abc");
        props.put("boolean", "true");
        props.put("float", "24.98");
        props.put("int", "12");
        props.put("char", "a");
        PropertyParser instance = new PropertyParser(props);

        expResult = "sTr1";
        result = instance.toString("value1");
        assertEquals(expResult, result);

        expResult = "str_2";
        result = instance.toString("value2");
        assertEquals(expResult, result);

        expResult = "";
        result = instance.toString("empty");
        assertEquals(expResult, result);

        expResult = "abc";
        result = instance.toString("str");
        assertEquals(expResult, result);

        expResult = "true";
        result = instance.toString("boolean");
        assertEquals(expResult, result);

        expResult = "24.98";
        result = instance.toString("float");
        assertEquals(expResult, result);

        expResult = "12";
        result = instance.toString("int");
        assertEquals(expResult, result);

        expResult = "a";
        result = instance.toString("char");
        assertEquals(expResult, result);

        expResult = "";
        result = instance.toString("nonexistent");
        assertEquals(expResult, result);
    }