title: Ambiguous method call Both assertEquals(Object, Object) in Assert and assertEquals(double, double) in Assert match:
body: <p>I am getting the following error:</p>
  
  <pre><code>Both assertEquals(Object, Object) in Assert and assertEquals(double, double) in Assert match
  </code></pre>
  
  <p>For this line of code in my <code>Junit</code> tests, note that <code>getScore</code>() returns a <code>double</code>: </p>
  
  <pre><code>assertEquals(2.5, person.getScore());
  </code></pre>
  
  <p>This is my assert import:</p>
  
  <pre><code>import static org.junit.Assert.*;
  </code></pre>
  
  <p>What is causing this and how can I fix this?</p>