title: Assert Fails Even Though It Shouldn't
body: <p>I have the following two asserts which are checking the <code>checked</code> attribute of a check box:</p>
  
  <pre><code>Assert.assertEquals(true, notificationCheck.getAttribute("checked").equals(true));
  Assert.assertEquals(true, accessCheck.getAttribute("checked").equals(true));
  </code></pre>
  
  <p>I have setup a sort of debugging where it spits out to console the value of the <code>checked</code> attribute and they both say true. </p>
  
  <p>The error that I am getting is below:</p>
  
  <pre><code>java.lang.AssertionError: expected [false] but found [true]
  at org.testng.Assert.fail(Assert.java:94)
  at org.testng.Assert.failNotEquals(Assert.java:494)
  at org.testng.Assert.assertEquals(Assert.java:123)
  at org.testng.Assert.assertEquals(Assert.java:286)
  at org.testng.Assert.assertEquals(Assert.java:296)
  at ui_Tests.ParticipantsPage_AddParticipant.participantPage_AddParticipant(ParticipantsPage_AddParticipant.java:305)
  at ui_Tests.ParticipantsPage_AddParticipant.test_participantPage_AddParticipant_FF(ParticipantsPage_AddParticipant.java:315)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:601)
  at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
  at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
  at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
  at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
  at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
  at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
  at org.testng.TestRunner.privateRun(TestRunner.java:767)
  at org.testng.TestRunner.run(TestRunner.java:617)
  at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
  at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
  at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
  at org.testng.SuiteRunner.run(SuiteRunner.java:240)
  at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
  at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
  at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
  at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
  at org.testng.TestNG.run(TestNG.java:1057)
  at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
  at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
  at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>I removed the <code>.equals(true)</code> from both of the Asserts. 
  Now I am getting the same error only now it says <code>expected [true] but found [true]</code></p>