@@ -58,14 +58,6 @@ class ParametersUnitTests {
|
||||
new DefaultParameters(validWithSort);
|
||||
}
|
||||
|
||||
@Test
|
||||
void rejectsInvalidMethodWithParamMissing() throws Exception {
|
||||
|
||||
Method method = SampleDao.class.getMethod("invalidParamMissing", String.class, String.class);
|
||||
|
||||
assertThatIllegalArgumentException().isThrownBy(() -> new DefaultParameters(method));
|
||||
}
|
||||
|
||||
@Test
|
||||
void rejectsNullMethod() {
|
||||
assertThatIllegalArgumentException().isThrownBy(() -> new DefaultParameters(null));
|
||||
|
||||
Reference in New Issue
Block a user