@Test
public void isSuper()
{

    final UserCredentials userCredentials = new UserCredentials();
    userCredentials.setUserAuthorityGroups( new HashSet<>( Arrays.asList( userAuthorityGroup1, userAuthorityGroup1Super, userAuthorityGroup2 ) ) );
    Assert.assertTrue( userCredentials.isSuper() );
    Assert.assertTrue( userCredentials.isSuper() );
}