Package it.unisa.thespoon.model.dao
Class RistoranteDAOTest
java.lang.Object
it.unisa.thespoon.model.dao.RistoranteDAOTest
- Author:
- Jacopo Gennaro Esposito Classe che implementa il test del DAO Ristoratore.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Set<Ristoratore> private Set<Ristorante> private RistoranteDAOprivate UserService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidVerifica la correttezza del valore tornato per la query di ricerca ristorante mediante ID e ID Ristoratore(package private) voidVerifica la correttezza del valore tornato per la query di ricerca ristorante mediante ID Ristoratore(package private) voidsetUp()(package private) voidtearDown()
-
Field Details
-
underTest
-
userService
-
RisSet
-
Ristoranti
-
-
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
-