title: how to verify in assertj that elements are one of
body: <p>I can't find how to do check with assertj the following (which is very common):</p>
  
  <p>Suppose I have:</p>
  
  <pre><code> result1 = {"AAA", "BBB"}
   result2 = {"DDD"}
  </code></pre>
  
  <p>I want to check the values in result is one of these:</p>
  
  <pre><code>String[] valid = String[]{"AAA", "BBB", "CCC"};
  </code></pre>
  
  <p>using assertj, whould be something as:</p>
  
  <pre><code>assertThat(result1).xxxx(valid);
  assertThat(result2).xxxx(valid);
  </code></pre>
  
  <p>So that result1 would pass check, but result2 not.</p>
  
  <p>contains() does not work (it checks that result contains all valid elements)</p>
  
  <p>I don't want have to create a custom condition for this kind of checking</p>
  
  <p>Any idea?</p>