Assertions { public static void verifyPrecondition(boolean assertionResult, String errorMessage) { if (!assertionResult) { throw new RuntimeException(errorMessage); } }  static void verifyPrecondition(boolean assertionResult, String errorMessage);  }
@Test public void testVerifyPrecondition() { Assertions.verifyPrecondition(true, ""); }
@Test(expected = RuntimeException.class) public void testVerifyPreconditionFailure() { Assertions.verifyPrecondition(false, ""); }