@Override
    public String toString() {
        return "Counter{"
                + "value=" + value
                + '}';
    }
@Test
    public void test_toString() {
        String s = counter.toString();
        assertEquals("Counter{value=0}", s);
    }