### Question:
LinkParameter { public LinkParameter value(String value) { this.value = value; return this; } LinkParameter(); String getValue(); void setValue(String value); LinkParameter value(String value); @Override boolean equals(java.lang.Object o); @Override int hashCode(); java.util.Map<String, Object> getExtensions(); void addExtension(String name, Object value); void setExtensions(java.util.Map<String, Object> extensions); LinkParameter extensions(java.util.Map<String, Object> extensions); @Override String toString();  }### Answer:
@Test public void testValue() { LinkParameter linkParameter = new LinkParameter(); linkParameter.setValue("foo"); linkParameter.setValue("bar"); linkParameter.setValue("baz"); Assert.assertEquals(linkParameter.value("bar"), linkParameter); Assert.assertEquals(linkParameter.getValue(), "bar"); }