@Test
public void generateCredential_givenNoUsernameAndPasswordParameters_generatesUserWithGeneratedUsernameAndPassword() {

  final UserCredentialValue user = subject.generateCredential(passwordParameters);
  assertThat(user.getUsername(), equalTo("fake-generated-username"));
  assertThat(user.getPassword(), equalTo("fake-generated-password"));
  assertThat(user.getSalt(), equalTo("fake-generated-salt"));
}