@Override
    public String toString() {
        String t = map2String(tags);
        return measurement +
                (t.length() > 0? "," + t : "") +
                " value=" + value +
                " " + timestamp;
    }
@Test
    public void testToString() {
        Map<String, String> tags = new LinkedHashMap<>();
        tags.put("key1", "value1");
        tags.put("key2", "value2");
        tags.put("key3", "value3");
        InfluxDbPoint point = new InfluxDbPoint("counter", tags, 1234567890, "123");
        Assert.assertEquals("counter,key1=value1,key2=value2,key3=value3 value=123 1234567890", point.toString());
    }