package org.apache.commons.collections.functors;

import junit.framework.Test;
import junit.framework.TestSuite;
import junit.framework.TestCase;

public class TestNOPTransformer extends TestCase {
    public TestNOPTransformer(String testName) {
        super(testName);
    }

    public static Test suite() {
        return new TestSuite(TestNOPTransformer.class);
    }

    public void testSame() {
        Object o = new Object();
        assertSame(
                "The input and the output of the transformation should be the same",
                o,
                NOPTransformer.INSTANCE.transform(o));
    }

    public void testNulL() {
        assertNull(
                "The the output of the transformation of null should be null",
                NOPTransformer.INSTANCE.transform(null));
    }
}
