I think that is better to use ```org.testng.Assert.assertEquals(actual,expected)``` instead of ```assert``` because ```assert``` can be disabled in the JVM.