### Question:
OauthServerLinkResolver { public OauthServerInfoTO resolve() { String authUri = StringUtils.isNotBlank(redirectId) && requestParameter != null ? resolveParametrizedAuthUri() : resolveNonParametrizedAuthUri(); info.setAuthorizationEndpoint(authUri); info.setTokenEndpoint(resolveTokenUri()); return info; } OauthServerLinkResolver(OauthServerInfoTO info, String paymentId, String consentId, String cancellationId, String redirectId, String obaBeBaseUri, String obaFeBaseUri); OauthServerInfoTO resolve();  }### Answer:
@Test void resolve_parametrized() { OauthServerLinkResolver resolver = new OauthServerLinkResolver(new OauthServerInfoTO(), PMT_ID, null, null, AUTH_ID, obaBeBaseUri, obaFeBaseUri); OauthServerInfoTO result = resolver.resolve(); assertEquals(getParametrizedResponse(), result); }
@Test void resolve_non_parametrized() { OauthServerLinkResolver resolver = new OauthServerLinkResolver(new OauthServerInfoTO(), null, null, null, null, obaBeBaseUri, obaFeBaseUri); OauthServerInfoTO result = resolver.resolve(); assertEquals(getNonParametrizedResponse(), result); }