Class PasswordRecoveryServiceTest

java.lang.Object
PasswordRecoveryServiceTest

public class PasswordRecoveryServiceTest extends Object
Test class for PasswordRecoveryService
  • Constructor Details

    • PasswordRecoveryServiceTest

      public PasswordRecoveryServiceTest()
  • Method Details

    • setUp

      @BeforeEach public void setUp() throws IOException, jakarta.servlet.ServletException
      Sets up the test environment.
      Throws:
      IOException - If an error occurs.
      jakarta.servlet.ServletException - If an error occurs.
    • emailIsNotPresent

      @Test @Order(1) public void emailIsNotPresent() throws IOException
      Tests the TC_3.1_1 Test case. It tests the presence of the email in the database.
      Throws:
      IOException
    • passwordRecovered

      @Test @Order(2) public void passwordRecovered() throws IOException
      Tests the TC_3.1_2 Test case.
      Throws:
      IOException