### Question:
ResponseUtils { public void removeCookies(HttpServletResponse response) { removeCookie(response, ACCESS_TOKEN_COOKIE_NAME); removeCookie(response, CONSENT_COOKIE_NAME); }  void setCookies(HttpServletResponse response, ConsentReference consentReference, String accessTokenString,
			AccessTokenTO accessTokenTO); void removeCookies(HttpServletResponse response); ResponseEntity<T> unknownCredentials(
			T resp, HttpServletResponse httpResp); ResponseEntity<T> couldNotProcessRequest(T authResp, String message,
			HttpStatus status, HttpServletResponse httpResp); @SuppressWarnings("PMD.AvoidReassigningParameters") ResponseEntity<T> redirect(String locationURI, HttpServletResponse httpResp); ResponseEntity<T> error(T authResp, HttpStatus status, String message, HttpServletResponse response); String consentCookie(String cookieString); static final String CONSENT_COOKIE_NAME; static final String ACCESS_TOKEN_COOKIE_NAME; static final String UNKNOWN_CREDENTIALS; }### Answer:
@Test void removeCookies() { HttpServletResponse response = Mockito.mock(HttpServletResponse.class); when(cookieConfigProperties.getPath()).thenReturn("somePath"); assertThatCode(() -> responseUtils.removeCookies(response)).doesNotThrowAnyException(); }