Changes deprecated Assert class.
Replace deprecated Assert class in JUnit.