diff --git a/common/src/test/java/ctbrec/recorder/RecordingPreconditionsTest.java b/common/src/test/java/ctbrec/recorder/RecordingPreconditionsTest.java index 5efbc850..ad50f01c 100644 --- a/common/src/test/java/ctbrec/recorder/RecordingPreconditionsTest.java +++ b/common/src/test/java/ctbrec/recorder/RecordingPreconditionsTest.java @@ -159,12 +159,14 @@ class RecordingPreconditionsTest { when(mockita.toString()).thenReturn("Mockita Boobilicious"); when(mockita.isOnline(true)).thenReturn(true); when(mockita.getUrl()).thenReturn("http://localhost/mockita"); + when(mockita.getPriority()).thenReturn(0); Model theOtherOne = mock(Model.class); when(theOtherOne.getRecordUntil()).thenReturn(Instant.MAX); when(theOtherOne.toString()).thenReturn("The Other One"); when(theOtherOne.isOnline(true)).thenReturn(true); when(theOtherOne.getUrl()).thenReturn("http://localhost/theOtherOne"); + when(theOtherOne.getPriority()).thenReturn(10); ModelGroup group = new ModelGroup(); group.add(theOtherOne);