title: assertTrue multiple values in webdriver java
body: <p>I want to assert.true 2 different value, one or the other.</p>
  
  <p>I am getting the value of the background color, which is being changed, so it can have two different colors as the option. </p>
  
  <p>This is what I have:</p>
  
  <pre><code>Assert.assertTrue(Assert_BG1.contains("0, 255, 1, 1"));
  </code></pre>
  
  <p>But I want it to assertTrue that value and if that value is not present, assert the next value. I know you cannot write if and statements with assertTrue.</p>
  
  <p>What would be the easiest way to achieve this in Java?</p>
  
  <p>Thanks</p>