### Question:
AuthorizationSession { boolean isProvided(String aString) { return aString != null && !aString.isEmpty(); } AuthorizationSession(RangerBasePlugin authorizer);   }### Answer:
@Test public void testIsProvided() { AuthorizationSession session = new AuthorizationSession(null); assertFalse(session.isProvided(null)); assertFalse(session.isProvided("")); assertTrue(session.isProvided(" ")); assertTrue(session.isProvided("xtq")); }