@Test
public void pipelineOverwriteTest() {

    List<Map<String, String>> listWithNonEmptyMap = new LinkedList<>();
    HashMap<String, String> nonEmptyMap = new HashMap<>();
    nonEmptyMap.put("var_out_test", "3");
    listWithNonEmptyMap.add(nonEmptyMap);
    SetAssignExtension setAssign = new SetAssignExtension();
    SetAssignExtension.SetAssignTag setAssignTag = new SetAssignExtension.SetAssignTag();
    setAssignTag.setName("var_out_test");
    setAssignTag.setSet("A,B,C");
    List<Map<String, String>> processedList = setAssign.pipelinePossibleStates(setAssignTag, listWithNonEmptyMap);
    Assert.assertEquals(3, processedList.size());
    Map<String, String> resultMap = processedList.get(0);
    Assert.assertEquals(1, resultMap.keySet().size());
    Assert.assertEquals("A", resultMap.get("var_out_test"));
    resultMap = processedList.get(1);
    Assert.assertEquals(1, resultMap.keySet().size());
    Assert.assertEquals("B", resultMap.get("var_out_test"));
    resultMap = processedList.get(2);
    Assert.assertEquals(1, resultMap.keySet().size());
    Assert.assertEquals("C", resultMap.get("var_out_test"));
}