I have noticed an overwhelming amount of Assertions.assertEquals(), Assertions.assertTrue() or other similar static method calls from the Assertions class. I also noticed that some test classes have static imports for Assertions, and some don't. I decided to clean up the code by adding static imports for Assertions for the classes that did not import them already.
Another minor change I made within the code cleanup was that I extracted out a huge builder chain into a separate private method in MessageSerializationTest, to ensure code tidiness.
Pull Request Etiquette
Changes
Closes Issue: NaN
Description
I have noticed an overwhelming amount of
Assertions.assertEquals()
,Assertions.assertTrue()
or other similar static method calls from theAssertions
class. I also noticed that some test classes have static imports forAssertions
, and some don't. I decided to clean up the code by adding static imports forAssertions
for the classes that did not import them already.Another minor change I made within the code cleanup was that I extracted out a huge builder chain into a separate private method in
MessageSerializationTest
, to ensure code tidiness.