I am writing a simple JUnit test for the MyObject class.
MyObject
A MyObject can be created from a static factory met
Why not simply use List#equals?
List#equals
assertEquals(argumentComponents, imapPathComponents);
Contract of List#equals:
two lists are defined to be equal if they contain the same elements in the same order.