when do you use the Java assert statement code example
Example: assert java
public void setup() { Connection conn = getConnection(); assert conn != null;}
public void setup() { Connection conn = getConnection(); assert conn != null;}