stubLoginWithCredentials method
Implementation
stubLoginWithCredentials([Either<Failure, AuthenticationData>? response]) {
when(loginWithCredentials(any, any)).thenAnswer((realInvocation) async =>
response ??
right<Failure, AuthenticationData>(
AuthenticationDataModel(
id: "id",
token: "token",
refreshToken: "refreshToken",
// user
),
));
}