@Test public void testGetFiveMinutesQty() throws Exception { BlinkCounter testClass = new BlinkCounter(); int expectedValue = testClass.getCalendar().get(Calendar.MINUTE) / testClass.DIVISOR; int returnedValue = testClass.getFiveMinutesQty(); assertEquals(expectedValue, returnedValue); }