@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")); }
boolean isProvided(String aString) { return aString != null && !aString.isEmpty(); }
AuthorizationSession { boolean isProvided(String aString) { return aString != null && !aString.isEmpty(); } }
AuthorizationSession { boolean isProvided(String aString) { return aString != null && !aString.isEmpty(); } AuthorizationSession(RangerBasePlugin authorizer); }
AuthorizationSession { boolean isProvided(String aString) { return aString != null && !aString.isEmpty(); } AuthorizationSession(RangerBasePlugin authorizer);  }
AuthorizationSession { boolean isProvided(String aString) { return aString != null && !aString.isEmpty(); } AuthorizationSession(RangerBasePlugin authorizer);   }