// random credentials
String userName = NetworkTestUtil.randomString();
String password = NetworkTestUtil.randomString();
String pin = NetworkTestUtil.randomString();
UserCredentials credentials1 = new UserCredentials(userName, password, pin);
UserCredentials credentials2 = new UserCredentials(userName, password, pin);
// test if same result twice
Assert.assertEquals(credentials1.getProfileLocationKey(), credentials2.getProfileLocationKey());
}