stbFailure method

dynamic stbFailure()

Implementation

stbFailure() {
  when(requestPasswordReset(any)).thenAnswer(
    (realInvocation) async => left<Failure, Unit>(
      UnknownFailure(),
    ),
  );
  when(resendVerificationCode(any, any)).thenAnswer(
    (realInvocation) async => left<Failure, Unit>(
      UnknownFailure(),
    ),
  );
  when(submitChangePassword(any, any, any)).thenAnswer(
    (realInvocation) async => left<Failure, Unit>(
      UnknownFailure(),
    ),
  );
  when(submitPasswordReset(any, any, any, any)).thenAnswer(
    (realInvocation) async => left<Failure, Unit>(
      UnknownFailure(),
    ),
  );
  when(submitVerificationCode(any, any)).thenAnswer(
    (realInvocation) async => left<Failure, Unit>(
      UnknownFailure(),
    ),
  );
  when(updateUserProfilePicture(any, any)).thenAnswer(
    (value) async => left<Failure, String?>(
      UnknownFailure(),
    ),
  );
  when(confirmEmailChange(any, any)).thenAnswer(
    (value) async => left<Failure, Unit>(
      UnknownFailure(),
    ),
  );
  when(updateUsername(any, any)).thenAnswer(
    (value) async => left<Failure, User?>(
      UnknownFailure(),
    ),
  );
  when(cancelChangeEmail(any)).thenAnswer(
    (value) async => left<Failure, Unit>(
      UnknownFailure(),
    ),
  );
}