@Test
public void setPasswordAndGenerationParameters_setsTheNonceAndEncryptedValue() {

  subject.setPasswordAndGenerationParameters(PASSWORD, null);
  assertThat(passwordCredentialData.getEncryptedValueData().getEncryptedValue(), notNullValue());
  assertThat(passwordCredentialData.getNonce(), notNullValue());
}