@Test
public void testClaimsWithoutRoles() {

    final boolean containsRole;
    final Claims claims = Jwts.claims().setSubject("test");
    Mockito.when(mockHttpServletRequest.getAttribute(JwtFilter.ATTRIBUTE_CLAIMS)).thenReturn(claims);
    containsRole = userController.claimContainsRole(ROLE, mockHttpServletRequest);
    assertFalse(containsRole);
    Mockito.verify(mockHttpServletRequest).getAttribute(JwtFilter.ATTRIBUTE_CLAIMS);
}