Class DashboardPersonaleDAOTest

java.lang.Object
it.unisa.thespoon.model.dao.DashboardPersonaleDAOTest

@SpringBootTest class DashboardPersonaleDAOTest extends Object
Author:
Jacopo Gennaro Esposito Classe che implementa il test del DAO DashboardPersonale, in particolare verifica la correttezza della query custom utilizzata per recuperare i dettagli di un account in base all'indirizzo email.
  • Field Details

  • Constructor Details

    • DashboardPersonaleDAOTest

      DashboardPersonaleDAOTest()
  • Method Details

    • tearDown

      @AfterEach void tearDown()
    • findDetailsByEmail

      @Test void findDetailsByEmail()
      Verifica la correttezza del valore tornato in caso di mail presente nel DB
    • findAllDetailsByEmail

      @Test void findAllDetailsByEmail()
      Verifica la correttezza del valore tornato in caso di mail presente nel DB
    • NotFoundDetailsByEmail

      @Test void NotFoundDetailsByEmail()
      Verifica la correttezza del valore tornato in caso di mail non presente nel DB
    • NotFoundAllDetailsByEmail

      @Test void NotFoundAllDetailsByEmail()
      Verifica la correttezza del valore tornato in caso di mail non presente nel DB