@Test(enabled = false) public void mergeWithShouldMergeAcceptPut() { // given final TemplatedLink thisTemplatedLink = templatedLink( RESOURCELINK_SHOP_PAGE, REL_PAGE_HREF, asList(hrefVar("pageId", VAR_TYPE_PAGEID)), Hints.hints( of(GET, PUT), asList("application/foo"), asList("application/json"), Collections.<String>emptyList(), Collections.<Precondition>emptyList(), Status.OK, emptyDocs())); final TemplatedLink thatTemplatedLink = templatedLink( RESOURCELINK_SHOP_PAGE, REL_PAGE_HREF, asList(hrefVar("pageId", VAR_TYPE_PAGEID)), Hints.hints( of(GET, PUT), asList("application/foo"), asList("application/foo"), Collections.<String>emptyList(), Collections.<Precondition>emptyList(), Status.OK, emptyDocs())); // when final ResourceLink resourceLink = thisTemplatedLink.mergeWith(thatTemplatedLink); // then final Hints hints = resourceLink.getHints(); assertEquals(hints.getRepresentations(), asList("application/foo")); assertEquals(hints.getAcceptPut(), asList("application/json", "application/foo")); }