### Question:
SimpleUserPassBuilder extends UserPassBuilder { @Override public UserPassBuilder setPassword(final String password) { if (password == null) { throw new NullPointerException("Password cannot be null."); } this.password = password; markAsSet(Attribute.PASSWORD); return this; }  @Override UserPassBuilder setPassword(final String password); @Override UserPassProduct build(); @Override UserPassBuilder setServerAddress(final URI serverAddress); @Override UserPassBuilder setUsername(final String username);  }### Answer:
@Test(expected = NullPointerException.class) public void testSetNullPassword() { builder.setPassword(null); }