LongNode extends LeafNode<Long> { public Long value() { return value; } LongNode();  LongNode(long value); Long value(); @Override String getValue(); @Override String toString();  }
@Test public void testSetValue() { LongNode n = new LongNode(); assertFalse(n.setValue("invalid")); assertTrue(n.setValue("10")); assertThat(n.value(), is(10l)); }