### Question:
LinkParameter { public LinkParameter extensions(java.util.Map<String, Object> extensions) { this.extensions = extensions; 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 testExtensions() { LinkParameter linkParameter = new LinkParameter(); HashMap<String, Object> hashMap = new HashMap<>(); hashMap.put("x-", "foo"); hashMap.put("x-", "bar"); hashMap.put("x-", "baz"); Assert.assertEquals(linkParameter.extensions(hashMap), linkParameter); }