@Test
public void checkPositiveInteger() {

    ConfigValueHelper.checkPositiveInteger("aaa", 1);
    try {
        ConfigValueHelper.checkPositiveInteger("aaa", 0);
        Assert.fail();
    } catch (Exception e) {
        Assert.assertTrue(e.getMessage().contains("aaa"));
    }
    try {
        ConfigValueHelper.checkPositiveInteger("aaa", -1);
        Assert.fail();
    } catch (Exception e) {
        Assert.assertTrue(e.getMessage().contains("aaa"));
    }
}