You're using junit.framework.Assert instead of org.junit.Assert.
http://stackoverflow.com/questions/24013210/assert-in-junit-framework-has-been-deprecated-what-use-next
Even I too faced error but working fine as
package testcases;
import org.junit.Assert;
import org.junit.Test;
public class TestAssert {
@Test
public void run()
{
int a = 1000;
int b = 1001;
/*if(a==b)
{
System.out.println("PASS");
}
else
{
System.out.println("FAIL");
}*/
Assert.assertEquals(a, b);
}
}
Thanks a lot!