@Test
public void regexDateTest() {

    DataPipe pipeToTransform = new DataPipe();
    EquivalenceClassTransformer eqTransformer = new EquivalenceClassTransformer();
    String testRegularExpression = "^(0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\\d\\d$";
    pipeToTransform.getDataMap().put("TEST", "%regex(" + testRegularExpression + ")");
    eqTransformer.transform(pipeToTransform);
    Pattern pattern = Pattern.compile(testRegularExpression);
    Matcher didItMatch = pattern.matcher(pipeToTransform.getDataMap().get("TEST"));
    Assert.assertTrue(didItMatch.matches());
}