@Test
public void setPasswordAndGenerationParameters_shouldSetNullsIfTheParamsAreNulls() {

  subject.setPasswordAndGenerationParameters(PASSWORD, null);
  assertThat(passwordCredentialData.getEncryptedGenerationParameters(), nullValue());
}