@Test
public void minAndMaxLenTest() {

    Map<String, String> variableDomains = new HashMap<>();
    List<Map<String, String>> listOfMaps = new LinkedList<>();
    listOfMaps.add(variableDomains);
    NegativeBoundHiveDecimal defaultBehavior = new NegativeBoundHiveDecimal();
    NegativeBoundHiveDecimal.NegativeBoundHiveDecimalTag tag = new NegativeBoundHiveDecimal.NegativeBoundHiveDecimalTag();
    tag.setName("name");
    tag.setMin("10");
    tag.setMaxLen("12");
    List<Map<String, String>> newList = defaultBehavior.pipelinePossibleStates(tag, listOfMaps);
    Assert.assertEquals(newList.get(0).get("name"), "9");
    Assert.assertEquals(newList.get(1).get("name").length(), 11);
}