@Test
public void statesLongTest() {

    DataPipe pipeToTransform = new DataPipe();
    EquivalenceClassTransformer eqTransformer = new EquivalenceClassTransformer();
    String[] statesLong = {
            "Alabama", "Alaska", "American Samoa", "Arizona", "Arkansas",
            "California", "Colorado", "Connecticut", "Delaware", "Dist. of Columbia",
            "Florida", "Georgia", "Guam", "Hawaii", "Idaho", "Illinois", "Indiana",
            "Iowa", "Kansas", "Kentucky", "Louisiana", "Maine", "Maryland", "Marshall Islands",
            "Massachusetts", "Michigan", "Micronesia", "Minnesota", "Mississippi",
            "Missouri", "Montana", "Nebraska", "Nevada", "New Hampshire", "New Jersey",
            "New Mexico", "New York", "North Carolina", "North Dakota", "Northern Marianas",
            "Ohio", "Oklahoma", "Oregon", "Palau", "Pennsylvania", "Puerto Rico",
            "Rhode Island", "South Carolina", "South Dakota", "Tennessee", "Texas",
            "Utah", "Vermont", "Virginia", "Virgin Islands", "Washington", "West Virginia",
            "Wisconsin", "Wyoming"};
    Assert.assertTrue("Missed state long name(s)!", EquivalenceClassTransformer.STATE_LONG.length == 59);
    HashSet<String> statesLongLookUp = new HashSet<>(Arrays.asList(statesLong));
    // check 'state' 
    for (int i = 0; i < 500; i++) {
        pipeToTransform.getDataMap().put("TEST_states", "%state");
        eqTransformer.transform(pipeToTransform);
        Assert.assertTrue("Wrong state name(s)! Have '" + pipeToTransform.getDataMap().get("TEST_states") + "',"
                + " but wait for one of '" + statesLongLookUp + "'...",
                statesLongLookUp.contains(pipeToTransform.getDataMap().get("TEST_states")));
    }
    // check 'stateLong'
    for (int i = 0; i < 500; i++) {
        pipeToTransform.getDataMap().put("TEST_statesLong", "%stateLong");
        eqTransformer.transform(pipeToTransform);
        Assert.assertTrue("Wrong state long name(s)! Have '" + pipeToTransform.getDataMap().get("TEST_statesLong") + "',"
                + " but wait for one of '" + statesLongLookUp + "'...",
                statesLongLookUp.contains(pipeToTransform.getDataMap().get("TEST_statesLong")));
    }
}