Java tutorial
//package com.java2s; public class Main { public static void assertIsTrue(boolean condition) { if (!condition) { throw new AssertionError("Expected condition to be true"); } } }