Skip to content

Commit

Permalink
Push from SCM (2023-07-19)
Browse files Browse the repository at this point in the history
  • Loading branch information
locke-chappel committed Jul 19, 2023
1 parent 59f7fc5 commit 2483c90
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public Void answer(InvocationOnMock invocation) throws Throwable {
Assertions.assertEquals(0, invocation.getArguments().length);
return null;
}
}).when(query).orderBy((Order[]) ArgumentMatchers.any());
}).when(query).orderBy(ArgumentMatchers.any(Order[].class));

this.service.orderBy(query, orders);
}
Expand All @@ -77,7 +77,7 @@ public Void answer(InvocationOnMock invocation) throws Throwable {
Assertions.assertEquals(2, invocation.getArguments().length);
return null;
}
}).when(query).orderBy((Order[]) ArgumentMatchers.any());
}).when(query).orderBy(ArgumentMatchers.any(Order[].class));

this.service.orderBy(query, orders);
}
Expand Down Expand Up @@ -146,7 +146,7 @@ public Void answer(InvocationOnMock invocation) throws Throwable {
Assertions.assertEquals(0, invocation.getArguments().length);
return null;
}
}).when(query).where((Predicate[]) ArgumentMatchers.any());
}).when(query).where(ArgumentMatchers.any(Predicate[].class));

this.service.where(query, wheres);
}
Expand All @@ -165,7 +165,7 @@ public Void answer(InvocationOnMock invocation) throws Throwable {
Assertions.assertEquals(2, invocation.getArguments().length);
return null;
}
}).when(query).where((Predicate[]) ArgumentMatchers.any());
}).when(query).where(ArgumentMatchers.any(Predicate[].class));

this.service.where(query, wheres);
}
Expand Down

0 comments on commit 2483c90

Please sign in to comment.