title: Error with import of org.junit.Assert
body: <p>I'm having a little problem with a unit-test my professor gave me. Upon compilation, I recieve the following errors:<br>
  <code>cannot find symbol import org.junit.Assert.assertArrayEquals;
  cannot find symbol import org.junit.Assert.assertEquals;
  import org.junit.Assert.assertFalse;
  import org.junit.Assert.assertTrue;</code></p>
  
  <p>I have downloaded JUnit and I can compile a similar file, so why am I having problems with this?
  The code is:</p>
  
  <pre><code>import java.util.Comparator;
  import org.junit.Assert.assertArrayEquals;
  import org.junit.Assert.assertEquals;
  import org.junit.Assert.assertFalse;
  import org.junit.Assert.assertTrue;
  import org.junit.Before;
  import org.junit.Test;
  
      public class SortingTests {
  
        class IntegerComparator implements Comparator&lt;Integer&gt; {
          @Override
          public int compare(Integer i1, Integer i2) {
            return i1.compareTo(i2);
          }
        }
  
        private Integer i1,i2,i3;
        private OrderedArray&lt;Integer&gt; orderedArray;
  
        @Before
        public void createOrderedArray(){
          i1 = -12;
          i2 = 0;
          i3 = 4;
          orderedArray = new OrderedArray&lt;&gt;(new IntegerComparator());
        }
  
        @Test
        public void testIsEmpty_zeroEl(){
          assertTrue(orderedArray.isEmpty());
        }
  
        @Test
        public void testIsEmpty_oneEl() throws Exception{
          orderedArray.add(i1);
          assertFalse(orderedArray.isEmpty());
        }
  
  
        @Test
        public void testSize_zeroEl() throws Exception{
          assertEquals(0,orderedArray.size());
        }
  
      }
  </code></pre>