@Test
public void pipelinePossibleStatesTest() {

    NWiseExtension.NWiseAction nWiseAction = new NWiseExtension.NWiseAction();
    nWiseAction.setCoVariables("A,B,C,D,E");
    nWiseAction.setN("3");
    Map<String, String> inputState = new HashMap<>();
    inputState.put("A", "1,2,3,4");
    inputState.put("B", "1,2,3,4");
    inputState.put("C", "1,2,3,4");
    inputState.put("D", "1,2,3,4");
    inputState.put("E", "1,2,3,4");
    List<Map<String, String>> pipelineStates = new LinkedList<>();
    pipelineStates.add(inputState);
    NWiseExtension nWiseExtension = new NWiseExtension();
    List<Map<String, String>> resultStates = nWiseExtension.pipelinePossibleStates(nWiseAction, pipelineStates);
    Assert.assertEquals(640, resultStates.size());
}