Class RistoranteDAOTest

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

@SpringBootTest class RistoranteDAOTest extends Object
Author:
Jacopo Gennaro Esposito Classe che implementa il test del DAO Ristoratore.
  • Field Details

  • Constructor Details

    • RistoranteDAOTest

      RistoranteDAOTest()
  • Method Details

    • setUp

      @BeforeEach void setUp()
    • tearDown

      @AfterEach void tearDown()
    • findRistoranteByOwners

      @Test void findRistoranteByOwners()
      Verifica la correttezza del valore tornato per la query di ricerca ristorante mediante ID Ristoratore
    • findByIdAndAndOwnersID

      @Test void findByIdAndAndOwnersID()
      Verifica la correttezza del valore tornato per la query di ricerca ristorante mediante ID e ID Ristoratore