@Test(timeout = 2000)
public void leapYearCount() throws Throwable {

    for (int[] leap : leaps) {
        String message = String.format("Main.leapYearCount(%s)", leap[0]);
        assertEquals(message, leap[1], TestUtils.invokeMethod(mainClass, leapYearCount, leap[0]));
    }
}