How about using "Assert.assertEquals(Constants.MAX_COLUMNS, equalTo(Integer.parseInt(maxColumnsProp)));"? In this way, we don't need to introduce new imports.