SignInFormVmImplTest
Namespace: SlottyMedia.Tests.Viewmodel.auth
Unit tests for the SignInFormVmImpl class.
public class SignInFormVmImplTest
Inheritance Object → SignInFormVmImplTest
Constructors
SignInFormVmImplTest()
public SignInFormVmImplTest()
Methods
OneTimeSetup()
Sets up the test environment before any tests are run.
public void OneTimeSetup()
TearDown()
Resets the mocks after each test.
public void TearDown()
SubmitSignInForm_WhenEmailEmpty_ShouldDisplayErrorMessage(String, String)
Tests that an error message is displayed when the email is empty or null.
public Task SubmitSignInForm_WhenEmailEmpty_ShouldDisplayErrorMessage(string email, string password)
Parameters
email String
The email input.
password String
The password input.
Returns
SubmitSignInForm_WhenPasswordEmpty_ShouldDisplayErrorMessage(String, String)
Tests that an error message is displayed when the password is empty or null.
public Task SubmitSignInForm_WhenPasswordEmpty_ShouldDisplayErrorMessage(string email, string password)
Parameters
email String
The email input.
password String
The password input.