### Question:
Authentication { public boolean isEmpty() { return (scheme == null) && (applid == null); }  boolean isEmpty();  }### Answer:
@Test public void testIsEmpty() { Authentication a; a = new Authentication(AuthenticationScheme.HTTP_BASIC_PASSTICKET, "applid"); assertFalse(a.isEmpty()); a = new Authentication(AuthenticationScheme.ZOSMF, null); assertFalse(a.isEmpty()); a = new Authentication(null, "applid"); assertFalse(a.isEmpty()); a = new Authentication(null, ""); assertFalse(a.isEmpty()); a = new Authentication(null, null); assertTrue(a.isEmpty()); }