@Test
public void minLenAndMaxTest() {

    Map<String, String> variableDomains = new HashMap<>();
    List<Map<String, String>> listOfMaps = new LinkedList<>();
    listOfMaps.add(variableDomains);
    PositiveBoundHiveDecimal defaultBehavior = new PositiveBoundHiveDecimal();
    PositiveBoundHiveDecimal.PositiveBoundHiveDecimalTag tag = new PositiveBoundHiveDecimal.PositiveBoundHiveDecimalTag();
    tag.setName("name");
    tag.setMinLen("10");
    tag.setMax("1000");
    List<Map<String, String>> newList = defaultBehavior.pipelinePossibleStates(tag, listOfMaps);
    Assert.assertEquals(newList.get(0).get("name"), "0");
    Assert.assertEquals(newList.get(1).get("name"), "-9999999999");
    Assert.assertEquals(newList.get(2).get("name"), "1000");
    Assert.assertEquals(newList.get(3).get("name"), "-4999999499");
    Assert.assertEquals(newList.get(4).get("name"), "");
}