title: Is is possible to use the || operator within junit tests of java code?
body: <p>I am trying to write a junit test that compares two arrayList's. My problem is that when I create one arrayList from getting information from my program, the information is returned in different orders because it is stored in an unordered structure. So for example, I might get "a or b" one time, and "b or a" the next. </p>
  
  <p>When I talked to my professor about this, he said it was possible to set up a junit test using an || operator so the data returned would match either "a or b" or "b or a". I've looked for use of the or operator with junit tests online, but have been unable to find any. If this is indeed possible, could someone provide the proper format? Thanks!</p>