public static Boolean assertTrue ( Boolean value , String message ) { if ( ! Boolean . valueOf ( value ) ) throw new IllegalStateException ( message ) ; return value ; }
Throws an IllegalStateException when the given value is not true .