@Test
public void pipelineNonEmptyMapTest() {

    List<Map<String, String>> listWithNonEmptyMap = new LinkedList<>();
    HashMap<String, String> nonEmptyMap = new HashMap<>();
    nonEmptyMap.put("var_out_test_1", "Lorem");
    nonEmptyMap.put("var_out_test_2", "ipsum");
    nonEmptyMap.put("var_out_test_3", "doler");
    nonEmptyMap.put("var_out_test_4", "sit");
    nonEmptyMap.put("var_out_test_5", "amet");
    listWithNonEmptyMap.add(nonEmptyMap);
    SingleValueAssignExtension assign = new SingleValueAssignExtension();
    Assign concreteAssignTag = new Assign();
    concreteAssignTag.setName("var_out_test_6");
    concreteAssignTag.setExpr("consectetur");
    List<Map<String, String>> processedList = assign.pipelinePossibleStates(concreteAssignTag, listWithNonEmptyMap);
    Assert.assertEquals(1, processedList.size());
    Map<String, String> resultMap = processedList.get(0);
    Assert.assertEquals(6, resultMap.keySet().size());
    Assert.assertEquals("Lorem", resultMap.get("var_out_test_1"));
    Assert.assertEquals("ipsum", resultMap.get("var_out_test_2"));
    Assert.assertEquals("doler", resultMap.get("var_out_test_3"));
    Assert.assertEquals("sit", resultMap.get("var_out_test_4"));
    Assert.assertEquals("amet", resultMap.get("var_out_test_5"));
    Assert.assertEquals("consectetur", resultMap.get("var_out_test_6"));
}