title: Comparing string and boolean in Expression language
body: <p>I have this behaviour I do not really understand</p>
  
  <pre><code>${someVar}
  ${someVar.class.name}      
  ${someVar == 'error'}
  </code></pre>
  
  <p>outputs</p>
  
  <pre><code>false
  java.lang.Boolean
  true
  </code></pre>
  
  <ol>
  <li>How can it be exlpained?</li>
  <li>What it the correct way to write the test in order to first test if the two 'things' have the same type and then if their value is the same?</li>
  </ol>