added some filled objects to ModelUtisl
@@ -147,6 +147,32 @@ public class ModelUtils {
.build();
}
+ public static HabitDictionary getHabitDictionary(){
+ return HabitDictionary.builder()
+ .id(1L)
+ .image("imagePath")
+ .habit(Collections.singletonList(ModelUtils.getHabit()))
+ .build();
+ }
+
+ public static HabitDictionaryTranslation getHabitDictionaryTranslation(){
+ return HabitDictionaryTranslation.builder()
+ .id(1L)
+ .name("habit")
+ .description("description")
+ .habitItem("habitItem")
+ .language(ModelUtils.getLanguage())
+ .habitDictionary(ModelUtils.getHabitDictionary())
+ .build();
+ }
+
+ public static Category getCategory(){
+ return Category.builder()
+ .id(12L)
+ .name("category")
+ .build();
+ }
+
public static AdviceTranslation getAdviceTranslation() {
AdviceTranslation adviceTranslation = new AdviceTranslation();
adviceTranslation.setId(5L);
