@Test
public void minLenAndmaxLenTest() {

    Map<String, String> variableDomains = new HashMap<>();
    List<Map<String, String>> listOfMaps = new LinkedList<>();
    listOfMaps.add(variableDomains);
    PositiveBoundHiveDecimal maxLenTest = new PositiveBoundHiveDecimal();
    PositiveBoundHiveDecimal.PositiveBoundHiveDecimalTag tag = new PositiveBoundHiveDecimal.PositiveBoundHiveDecimalTag();
    tag.setName("name");
    tag.setMinLen("5");
    tag.setMaxLen("9");
    List<Map<String, String>> newList = maxLenTest.pipelinePossibleStates(tag, listOfMaps);
    Assert.assertEquals(newList.get(0).get("name").length(), 5);
    Assert.assertEquals(newList.get(1).get("name").length(), 9);
}