@Test
public void testDoFilterNoUserNameInUri() throws Exception {

  // Given
  expect(userRelatedRequest.getRequestURI()).andReturn("/test/test1").anyTimes();
  filterChain.doFilter(same(userRelatedRequest), same(response));
  expectLastCall();
  replayAll();
  // When
  filter.doFilter(userRelatedRequest, response, filterChain);
  // Then
  verifyAll();
}