@Test(expected = NullPointerException.class) public void testSetNullPassword() { builder.setPassword(null); }
@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; }
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; } }
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; }  }
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); }
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);  }