@Test(expected = KerberosAdminAuthenticationException.class)
public void testAdminCredentialsEmptyPrincipal() throws KerberosOperationException {

  KerberosOperationHandler handler = createHandler();
  PrincipalKeyCredential credentials = new PrincipalKeyCredential("", "password");
  handler.setAdministratorCredential(credentials);
}