Class PasswordRecoveryServiceTest
java.lang.Object
PasswordRecoveryServiceTest
Test class for PasswordRecoveryService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests the TC_3.1_1 Test case.voidTests the TC_3.1_2 Test case.voidsetUp()Sets up the test environment.
-
Constructor Details
-
PasswordRecoveryServiceTest
public PasswordRecoveryServiceTest()
-
-
Method Details
-
setUp
Sets up the test environment.- Throws:
IOException- If an error occurs.jakarta.servlet.ServletException- If an error occurs.
-
emailIsNotPresent
Tests the TC_3.1_1 Test case. It tests the presence of the email in the database.- Throws:
IOException
-
passwordRecovered
Tests the TC_3.1_2 Test case.- Throws:
IOException
-