@Test
public void getAuthorizedNamespacesWhenNoAuthenticationInContextReturnEmpty()
{

    SecurityContextHolder.clearContext();
    Set<String> authorizedNamespaces = namespaceSecurityHelper.getAuthorizedNamespaces(NamespacePermissionEnum.READ);
    assertEquals(0, authorizedNamespaces.size());
}