@Test
public void notOnlyBusinessDayTest() {

    Map<String, String> variableDomains = new HashMap<>();
    List<Map<String, String>> listOfMaps = new LinkedList<>();
    listOfMaps.add(variableDomains);
    PositiveBoundHiveDate dateTest = new PositiveBoundHiveDate();
    PositiveBoundHiveDate.PositiveBoundHiveDateTag tag = new PositiveBoundHiveDate.PositiveBoundHiveDateTag();
    tag.setName("name");
    tag.setEarliest("2012-12-31");
    tag.setLatest("2014-01-02");
    tag.setOnlyBusinessDays("false");
    List<Map<String, String>> newList = dateTest.pipelinePossibleStates(tag, listOfMaps);
    Assert.assertEquals(newList.get(0).get("name"), "2012-12-31");
    Assert.assertEquals(newList.get(1).get("name"), "2013-01-01");
    Assert.assertEquals(newList.get(2).get("name"), "2014-01-01");
    Assert.assertEquals(newList.get(3).get("name"), "2014-01-02");
}