Skip to content

Instantly share code, notes, and snippets.

@odrotbohm
Created March 20, 2019 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odrotbohm/098d4330e08635e491a48b507c8eb580 to your computer and use it in GitHub Desktop.
Save odrotbohm/098d4330e08635e491a48b507c8eb580 to your computer and use it in GitHub Desktop.
Wanted but not invoked:
entityLinks.linkForItemResource(
class org.springframework.data.rest.core.domain.Profile,
isNull()
);
-> at org.springframework.data.rest.core.support.DefaultSelfLinkProviderUnitTests.looksUpSelfLinksForProxies(DefaultSelfLinkProviderUnitTests.java:144)
However, there was exactly 1 interaction with this mock:
entityLinks.linkToItemResource(
class org.springframework.data.rest.core.domain.Profile,
null
);
-> at org.springframework.data.rest.core.support.DefaultSelfLinkProvider.createSelfLinkFor(DefaultSelfLinkProvider.java:71)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment