Commit 3ed4c25
committed
Use Runnable in functional method test
Update `MethodUtilsTest#testFindFunctionalInterfaceMethod` to validate against `Runnable#run` instead of `Consumer#accept`, and remove the now-unused `Consumer` import. This keeps the test focused on a no-arg functional interface method while preserving existing non-interface and non-functional interface assertions.1 parent 6245ce7 commit 3ed4c25
1 file changed
Lines changed: 2 additions & 3 deletions
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
634 | 633 | | |
635 | 634 | | |
636 | 635 | | |
637 | | - | |
638 | | - | |
| 636 | + | |
| 637 | + | |
639 | 638 | | |
640 | 639 | | |
641 | 640 | | |
| |||
0 commit comments