diff --git a/android/app/src/main/java/fr/iut/sciencequest/stub/QuestionWithReponses.kt b/android/app/src/main/java/fr/iut/sciencequest/stub/QuestionWithReponses.kt new file mode 100644 index 0000000..6bb7c56 --- /dev/null +++ b/android/app/src/main/java/fr/iut/sciencequest/stub/QuestionWithReponses.kt @@ -0,0 +1,16 @@ +package fr.iut.sciencequest.stub + +import fr.iut.sciencequest.model.dto.question.QuestionWithSimpleResponseDTO +import fr.iut.sciencequest.model.dto.reponse.ReponseSimpleDTO + +object StubQuestionWithReponses: QuestionWithSimpleResponseDTO( + id = 0, + question = "Ceci est une question ?", + reponses = listOf( + ReponseSimpleDTO(id=0, "Reponse 1"), + ReponseSimpleDTO(id=1, "Reponse 2"), + ReponseSimpleDTO(id=1, "Reponse 3"), + ReponseSimpleDTO(id=1, "Reponse 4"), + ) +) +{} \ No newline at end of file