@Test
public void handle_invalidMethod() {

  request.addHeader("Access-Control-Request-Method", "DEELEEETE");
  request.addHeader("Access-Control-Request-Headers", TEST_HEADER);
  request.addHeader("Origin", ORIGIN);
  handler.handle(request, response);
  assertThat(response.getStatus()).isEqualTo(HttpServletResponse.SC_OK);
  assertThat(response.getHeader("Access-Control-Allow-Origin")).isNull();
  assertThat(response.getHeader("Access-Control-Allow-Headers")).isNull();
  assertThat(response.getHeader("Access-Control-Max-Age")).isNull();
  assertThat(response.getHeader("Access-Control-Allow-Credentials")).isNull();
  assertThat(response.getHeader("Access-Control-Allow-Methods")).isNull();
}