blob: 3fbc7ebb2dd3c8c096ca4733b76d655b7ae5b9d1 [file]
import org.testng.Assert;
import org.testng.annotations.Test;
public class SampleTest {
@Test
public void differentAssertions() {
Assert.assertTrue(true, "message");
Assert.assertTrue(true);
Assert.assertFalse(false, "message");
Assert.assertFalse(false);
Assert.assertNotNull(new Object(), "message");
Assert.assertNotNull(new Object());
Assert.assertNull(null, "message");
Assert.assertNull(null);
}
}