create unit tests fro findByFilters and generate mocks

This commit is contained in:
Yair Chen
2021-09-15 16:46:04 +03:00
parent dd50e23dcd
commit b11fcda216
12 changed files with 327 additions and 41 deletions

View File

@@ -29,9 +29,11 @@ const muscle3 = Muscle(id: 3, name: 'Booty', isFront: false);
const category1 = ExerciseCategory(id: 1, name: 'Arms');
const category2 = ExerciseCategory(id: 2, name: 'Legs');
const category3 = ExerciseCategory(id: 3, name: 'Abs');
const category4 = ExerciseCategory(id: 4, name: 'Shoulders');
const equipment1 = Equipment(id: 1, name: 'Bench');
const equipment2 = Equipment(id: 1, name: 'Dumbbell');
const equipment3 = Equipment(id: 2, name: 'Matress');
List<Exercise> getExercise() {
final base1 = ExerciseBase(