dubbo
dubbo copied to clipboard
Replace instanceof with Matchers#instanceOf in test cases
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
Environment
- Dubbo version: 3.2
- Operating System version: ALL
- Java version: xxx
Steps to reproduce this issue
In some test cases use instanceof, for example ExtensionTest class
we can replace with Matchers#instanceOf
Expected Behavior
MatcherAssert.assertThat(myfactory, Matchers.instanceOf(ExtensionInjector.class));
Actual Behavior
Would you pls submit a PR to enhance?
@AlbumenJ I will submit a pr to do this later
hi @AlbumenJ @mxsm still working on this? I'd like to work on it
hi @AlbumenJ @mxsm still working on this? I'd like to work on it
I'm working on this.