@Test public void login_form_automated() { TestWebScanAdapterConfig x = new TestAbstractWebScanAdapterConfigBuilder(). login(). form().autoDetect(). username("user1"). password("passwd1"). endLogin() .build(); assertNotNull(x); LoginConfig config = x.getLoginConfig(); assertNotNull(config); assertTrue(null, config.isFormAutoDetect()); assertEquals("user1",config.asFormAutoDetect().getUser()); assertEquals("passwd1",config.asFormAutoDetect().getPassword()); }
public LoginBuilder login() { currentLoginBuilder=new LoginBuilder(); return currentLoginBuilder; }
AbstractWebScanAdapterConfigBuilder extends AbstractAdapterConfigBuilder<B,C> { public LoginBuilder login() { currentLoginBuilder=new LoginBuilder(); return currentLoginBuilder; } }
AbstractWebScanAdapterConfigBuilder extends AbstractAdapterConfigBuilder<B,C> { public LoginBuilder login() { currentLoginBuilder=new LoginBuilder(); return currentLoginBuilder; }  }
AbstractWebScanAdapterConfigBuilder extends AbstractAdapterConfigBuilder<B,C> { public LoginBuilder login() { currentLoginBuilder=new LoginBuilder(); return currentLoginBuilder; }  LoginBuilder login(); }
AbstractWebScanAdapterConfigBuilder extends AbstractAdapterConfigBuilder<B,C> { public LoginBuilder login() { currentLoginBuilder=new LoginBuilder(); return currentLoginBuilder; }  LoginBuilder login();  }