public static int checkPositive(int i, String name) {
        if (i <= INT_ZERO) {
            throw new IllegalArgumentException(name + " : " + i + " (expected: > 0)");
        }
        return i;
    }
@Test
    public void testCheckPositiveFloatString() {
        Exception actualEx = null;
        try {
            ObjectUtil.checkPositive(POS_ONE_FLOAT, NUM_POS_NAME);
        } catch (Exception e) {
            actualEx = e;
        }
        assertNull(actualEx, TEST_RESULT_NULLEX_NOK);

        actualEx = null;
        try {
            ObjectUtil.checkPositive(ZERO_FLOAT, NUM_ZERO_NAME);
        } catch (Exception e) {
            actualEx = e;
        }
        assertNotNull(actualEx, TEST_RESULT_NULLEX_OK);
        assertTrue(actualEx instanceof IllegalArgumentException, TEST_RESULT_EXTYPE_NOK);

        actualEx = null;
        try {
            ObjectUtil.checkPositive(NEG_ONE_FLOAT, NUM_NEG_NAME);
        } catch (Exception e) {
            actualEx = e;
        }
        assertNotNull(actualEx, TEST_RESULT_NULLEX_OK);
        assertTrue(actualEx instanceof IllegalArgumentException, TEST_RESULT_EXTYPE_NOK);
    }