All of these values are ints. assertNotNull isn't the best assertion. assertTrue(value >= 0) would be better.