question: private boolean compare ( List < String > remoteModules , List < String > expectedModules ) { Collections . sort ( remoteModules ) ; Collections . sort ( expectedModules ) ; return remoteModules . equals ( expectedModules ) ; }
target:  return true if the both lists contain the same content (order doesn't matter)