title: JUnit test difference between assertEquals() and Assert.assertEquals()
body: <p>I made a method to count occurrence of a given character in String.</p>
  
  <pre><code>public Integer numberOf(String str, Character a){}
  </code></pre>
  
  <p>I tried to test as normal using:</p>
  
  <pre><code>@Test
  public void test1(){
      Integer result = oc.numberOf("Lungimirante", 'u');
      Assert.assertEquals(1, result);
  }
  </code></pre>
  
  <p>but Eclipse complains it.</p>
  
  <p>I googled and I found that to test it I needed use:</p>
  
  <pre><code>assertEquals(1, result); //it works correctly
  </code></pre>
  
  <p>instead of: <code>Assert.assertEquals(1, result);</code></p>
  
  <p>Could you explain me why? What is the difference?</p>