### Question:
DefaultLoginFormAdapter implements LoginFormAdapter { public void setValidInputNamesPassword(List<String> validInputNamesPassword) { if (validInputNamesPassword == null) throw new IllegalArgumentException("validInputNamesPassword must not be null"); this.validInputNamesPassword = validInputNamesPassword; } DefaultLoginFormAdapter(String authorizeUrl); @Override LoginCommand parseAndFill(String content, String username, String password); String getAuthorizeUrl(); List<String> getValidInputNamesUsername(); void setValidInputNamesUsername(List<String> validInputNamesUsername); List<String> getValidInputNamesPassword(); void setValidInputNamesPassword(List<String> validInputNamesPassword);  }### Answer:
@Test public void testSetNullPasswordInputNames() { thrown.expect(IllegalArgumentException.class); adapter.setValidInputNamesPassword(null); }