stubFailure method

dynamic stubFailure()

Implementation

stubFailure() {
  when(loginWithCredentials(any, any))
      .thenAnswer((realInvocation) async => left<Failure, AuthenticationData>(
            UnknownFailure(),
          ));
}