@Test public void doesNothingWhenRequestHasNoCookies() throws Exception {

  when(request.getCookies()).thenReturn(ImmutableMap.of());
  filter.filter(request, response);
  assertThat(response.getHeaders()).doesNotContainKey(SET_COOKIE);
}