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