@Test
public void setPasswordAndGenerationParameters_setsParamsNonceAndEncryptedGenerationParameters() {

  subject.setPasswordAndGenerationParameters(PASSWORD, generationParameters);
  assertThat(passwordCredentialData.getEncryptedGenerationParameters().getEncryptedValue(), notNullValue());
  assertThat(passwordCredentialData.getEncryptedGenerationParameters().getNonce(), notNullValue());
}