title: Hamcrest assertThat ambiguous?
body: <p>I got some samplecode from a college, imported the project and try to run the Tests:
  The method assertThat(Integer, Matcher) is ambiguous for the type MyClass</p>
  
  <p>Every assertThat is marked red with the same error-message so i tried to write the simpliest test which describes the problem:</p>
  
  <pre><code>import static org.hamcrest.MatcherAssert.*;
  import static org.hamcrest.Matchers.*;
  import static org.junit.Assert.*;
  
  @Test
  public void whenAssertThatThenItIsAmbiguous() {
      List&lt;String&gt; list = Arrays.asList("A", "B", "C");
      assertThat(list.size(), is(3));
  }
  </code></pre>
  
  <p>after I scroll over assertThat I get the following message:</p>
  
  <pre><code>The method assertThat(Integer, Matcher&lt;Integer&gt;) is ambiguous for the type MyClass
  </code></pre>
  
  <p>I searched google and stackoverflow but couldn't find anybody with the same problem... Please help.</p>
  
  <p>EDIT1:</p>
  
  <p>Solution:</p>
  
  <p><s>import static org.junit.Assert.*;</s> // delete this line</p>