BSTAuthenticator implements WebappAuthenticator { public void init() { this.tokenValidator = Utils.initAuthenticators(this.properties); }  void init(); @Override boolean canHandle(Request request); @Override AuthenticationInfo authenticate(Request request, Response response); @Override String getName(); @Override void setProperties(Properties properties); @Override Properties getProperties(); @Override String getProperty(String name);  }
@Test(description = "This test case is used to test the behaviour of BST Authenticator when the properties are " + "null", expectedExceptions = {IllegalArgumentException.class}, expectedExceptionsMessageRegExp = "Required properties needed to initialize OAuthAuthenticator are " + "not provided") public void testInitWithoutProperties() { bstAuthenticator.init(); }