function assertSuccessfulSignUp() {
  testAuth.assertCreateUserWithEmailAndPassword(
      [passwordAccount.getEmail(), '123123'], function() {
        var expectedUser = {
          'email': passwordAccount.getEmail(),
          'displayName': passwordAccount.getDisplayName()
        };
        testAuth.setUser(expectedUser);
        testAuth.currentUser.assertUpdateProfile([{
          'displayName': 'Password User'
        }]);
        var expectedUserCredential = {
          'user': testAuth.currentUser,
          'credential': null,
          'operationType': 'signIn',
          'additionalUserInfo': {'providerId': 'password', 'isNewUser': true}
        };
        return expectedUserCredential;
      });
}
Asserts all the required requests for a successful sign-up.