jackson-databind
                                
                                 jackson-databind copied to clipboard
                                
                                    jackson-databind copied to clipboard
                            
                            
                            
                        Apply JUnit5 best practices
This PR applies JUnit best practices (via OpenRewrite recipes). For ease of review the changes are grouped into separate commits:
- Remove publicmodifier from test classes and methods
- Extract inner class Employeethat is used in another package into its own class. This way its original classTestObjectIdwhich contains tests and several inner classes can have itspublicmodifier removed.
- Remove "test" prefix from test methods as that is no longer required
- Adapt assert in JDKStringLikeTypeDeserTest::stackTraceElement. Not sure what the test does but apparently it references the name of the test method which has now changed.
- Use static imports for Assertions, so you don't have Assertios.assertXYin the code all the time butassertXYdirectly. Also replace star import with explicit assertions where appropriate.
- Make assertions more concise e.g. assertEquals(false, p.value)->assertFalse(p.value)
- Revert above conversion for array builder class where equals is not symmetric (it is compared with an actual array -> different type)
- Use explicit asserts for exception instead of fails in a catch block.
- Remove unused imports.