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