title: Reference to assertEquals is ambiguous when running a unit test
body: <p>In my application </p>
  
  <pre><code>`CategoryDao` is a `interface`, `Category` is a model `class` 
  </code></pre>
  
  <p>My code is</p>
  
  <pre><code>CategoryTestCase.java
  
  package com.binod.onlineshopping.category.test;
  import com.binod.onlineshopping.category.dao.CategoryDao;
  import com.binod.onlineshopping.category.model.Category;
  import org.springframework.context.annotation.AnnotationConfigApplicationContext;
  import org.testng.annotations.BeforeClass;
  import org.testng.annotations.Test;
  
  import static org.testng.AssertJUnit.assertEquals;
  
  /**
   * Created by binod on 7/13/17.
   */
  public class CategoryTestCase {
  
      private static AnnotationConfigApplicationContext context;
      private static CategoryDao categoryDao;
      private Category category;
  
      @BeforeClass
      public static void init() {
  
          context = new AnnotationConfigApplicationContext();
          context.refresh();
          categoryDao = (CategoryDao) context.getBean("categoryDao");
      }
  
      @Test
      public void addCategory(){
          category=new Category();
          category.setCname("Television");
          category.setCdescription("TV is the product");
          category.setImageUrl("c_Tv.png");
       assertEquals("sucessfully inserted..",true,categoryDao.addCategory(category));
      }
  
  }
  </code></pre>
  
  <p>The error is :</p>
  
  <pre><code>Error:(34, 6) java: reference to assertEquals is ambiguous
   both method assertEquals(java.lang.String,boolean,boolean) in org.testng.AssertJUnit and method assertEquals(java.lang.String,java.lang.Object,java.lang.Object) in org.testng.AssertJUnit match
  </code></pre>
  
  <p>I am trying to <code>junit</code> test in my <code>springmvc</code> with <code>hibernate</code> project.I am trying to test in my <code>insert</code> module.but it gives a above error.
  I saw many tutorial and references but i am unable to handle that error.
  Thanks in advance.</p>