public static void verifyPrecondition(boolean assertionResult, String errorMessage) {
        if (!assertionResult) {
            throw new RuntimeException(errorMessage);
        }
    }
@Test
    public void testVerifyPreconditionFailure() {

        assertThrows(RuntimeException.class, () -> verifyPrecondition(false, ""));
    }