assert method shows deprecated in junit
Assert class has been moved to org.junit.Assert in JUnit 4.0 - you can use that instead, it's not deprecated.
where do I get junit 4.0?. junit 4.12 the assert method is not there
working fine for me try changing your junit jar file