@Test
public void alphaTest() {

    DataPipe pipeToTransform = new DataPipe();
    EquivalenceClassTransformer eqTransformer = new EquivalenceClassTransformer();
    pipeToTransform.getDataMap().put("TEST", "%alpha(1)");
    eqTransformer.transform(pipeToTransform);
    Pattern alphaPattern = Pattern.compile("^[a-z0-9A-Z]{1}$");
    Matcher didItMatch = alphaPattern.matcher(pipeToTransform.getDataMap().get("TEST"));
    Assert.assertTrue(didItMatch.matches());
    pipeToTransform.getDataMap().put("TEST", "%alpha(100)");
    eqTransformer.transform(pipeToTransform);
    alphaPattern = Pattern.compile("^[a-z0-9A-Z]{100}$");
    didItMatch = alphaPattern.matcher(pipeToTransform.getDataMap().get("TEST"));
    Assert.assertTrue(didItMatch.matches());
    pipeToTransform.getDataMap().put("TEST", "%alpha(0)");
    eqTransformer.transform(pipeToTransform);
    Assert.assertEquals("", pipeToTransform.getDataMap().get("TEST"));
}