title: Why are JUnit assert methods not generic in Java?
body: <p>I am using JUnit 4.12. The assert methods are not generic in nature. For instance, assertEquals method looks like: </p>
  
  <pre><code>static public void assertEquals(Object expected, Object actual) {..}
  </code></pre>
  
  <p>Why is it not like?</p>
  
  <pre><code>static public &lt;T&gt; void assertEquals(T expected, T actual) {..}
  </code></pre>
  
  <p>I felt need for generic method declaration for better compile time checking and IDE auto completion. </p>